Skip to content

Commit

Permalink
Upgrade to Edition 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Sep 27, 2021
1 parent 300c95f commit 2602fcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "pathdiff"
edition = "2018"
version = "0.2.0"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
description = "Library for diffing paths to obtain relative paths"
Expand Down
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Adapted from rustc's path_relative_from
// https://github.com/rust-lang/rust/blob/e1d0de82cc40b666b88d4a6d2c9dcbc81d7ed27f/src/librustc_back/rpath.rs#L116-L158

#[cfg(feature = "camino")]
extern crate camino;

use std::path::*;

/// Construct a relative path from a provided base directory path to the provided path.
Expand Down Expand Up @@ -150,7 +147,7 @@ mod utf8_paths {
}

#[cfg(feature = "camino")]
pub use utf8_paths::*;
pub use crate::utf8_paths::*;

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 2602fcd

Please sign in to comment.