Просмотр исходного кода

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 11 лет назад
Родитель
Сommit
8b2a19046e
1 измененных файлов с 1 добавлено и 1 удалено
  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;