diff options
author | Nickolay Ponomarev <asqueella@gmail.com> | 2019-07-15 03:19:31 +0300 |
---|---|---|
committer | Nickolay Ponomarev <asqueella@gmail.com> | 2019-07-15 04:02:08 +0300 |
commit | 05843b4504dfe2db8c729fae5ea6f53f01f89fc7 (patch) | |
tree | 4e5ab7d90655ac60fb07fa522b1befc2690a0a02 | |
parent | 2c363a5f14f793e8b9e76ac643725ca49c96ddd8 (diff) |
Use Rust 2018 edition
No particular reason for the switch, I tried it when I got a bunch of
errors related to bitflags when upgrading git2 (see the following
commits). Turned out they were not related to the edition used, but
there's no reason not to switch anyway, is there?
This requires Rust 1.31 (from last year) to build.
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | src/commute.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ homepage = "https://github.com/tummychow/git-absorb" repository = "https://github.com/tummychow/git-absorb" readme = "README.md" license = "BSD-3-Clause" +edition = "2018" include = [ "**/*.rs", diff --git a/src/commute.rs b/src/commute.rs index 1c7d168..b7f5ce2 100644 --- a/src/commute.rs +++ b/src/commute.rs @@ -1,6 +1,6 @@ extern crate failure; -use owned; +use crate::owned; /// Tests if all elements of the iterator are equal to each other. /// |