]> git.lizzy.rs Git - rust.git/commitdiff
make file_lines::Range public
authorNick Cameron <ncameron@mozilla.com>
Mon, 19 Jun 2017 00:58:29 +0000 (12:58 +1200)
committerNick Cameron <ncameron@mozilla.com>
Mon, 19 Jun 2017 00:58:29 +0000 (12:58 +1200)
Cargo.lock
src/file_lines.rs

index d56da60ea21ae11596edab39da16f5c6905ec1ea..c17aea7269690b4de3afb50f4b847ed5ed8f0c0f 100644 (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)",
index 81755eae8051d9ae0feda5275a98dc80fff7d605..4eae2602908b6a16ab6b2438c85e72b63cc99324 100644 (file)
@@ -19,7 +19,7 @@
 
 /// 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,
 }