Procházet zdrojové kódy

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 před 11 roky
rodič
revize
8b2a19046e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)]
 pub mod test {
     pub use super::*;
-    pub use super::path_filename;
+    use super::path_filename;
 
     pub use column::{Cell, Column};
     pub use std::old_io as io;