summaryrefslogtreecommitdiffstats
path: root/src/file.rs
diff options
context:
space:
mode:
authorEirik Schwenke <eirik@schwenke.info>2015-03-22 08:50:15 +0100
committerEirik Schwenke <eirik@schwenke.info>2015-03-22 08:50:15 +0100
commit8b2a19046e020d45ae808a3271706970ae8c182d (patch)
treec428cef2f2dca415af5cd56c6dbe6cd4c6a9649e /src/file.rs
parent30a48e05c22f2fbfde563a2ea87f50da7bb4d102 (diff)
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.
Diffstat (limited to 'src/file.rs')
-rw-r--r--src/file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.rs b/src/file.rs
index a8a72f6..9d4f6da 100644
--- a/src/file.rs
+++ b/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;