make file_lines::Range public

This commit is contained in:
Nick Cameron 2017-06-19 12:58:29 +12:00
parent be18e7af90
commit 34fa428471
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -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)",

View File

@ -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,
}