diff --git a/Cargo.lock b/Cargo.lock index d56da60ea21a..c17aea726969 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "rustfmt-nightly" -version = "0.1.2" +version = "0.1.3" dependencies = [ "diff 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/file_lines.rs b/src/file_lines.rs index 81755eae8051..4eae2602908b 100644 --- a/src/file_lines.rs +++ b/src/file_lines.rs @@ -19,7 +19,7 @@ use codemap::LineRange; /// A range that is inclusive of both ends. #[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, Deserialize)] -struct Range { +pub struct Range { lo: usize, hi: usize, }