BurntSushi / same-file

Cross platform Rust library for checking whether two file paths are the same file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace `try!` with `?` in examples

KodrAus opened this issue · comments

Relevant API Guideline

Replace try! and unwrap with ? in the two crate root examples.

See the API Guideline for an example of how to do this.

Note that we'll need to bump the minimum Rust version from 1.10 to 1.16 for this. Which is OK.