Explorar el Código

The path_filename function/method isn't declared public. If the declaration is changed, rustc complains about a conflict. This seems to be the minimal change needed for tests to run.

Eirik Schwenke hace 11 años
padre
commit
8b2a19046e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/file.rs

+ 1 - 1
src/file.rs

@@ -490,7 +490,7 @@ fn ext<'a>(name: &'a str) -> Option<String> {
 #[cfg(test)]
 #[cfg(test)]
 pub mod test {
 pub mod test {
     pub use super::*;
     pub use super::*;
-    pub use super::path_filename;
+    use super::path_filename;
 
 
     pub use column::{Cell, Column};
     pub use column::{Cell, Column};
     pub use std::old_io as io;
     pub use std::old_io as io;