diff options
| author | Ryman <haqkrs@gmail.com> | 2015-05-16 00:16:11 +0100 |
|---|---|---|
| committer | Ryman <haqkrs@gmail.com> | 2015-05-16 00:16:11 +0100 |
| commit | 0909ce382fe2cd08a21cfe7c3bbad8fd7670a1bb (patch) | |
| tree | 4a2b2a0b47557e31fab8d9c280da5cf7cac53dab /src/libstd/path.rs | |
| parent | a9ea33fa30fc2c1a8084e035455ba2a0a0dfea3e (diff) | |
| download | rust-0909ce382fe2cd08a21cfe7c3bbad8fd7670a1bb.tar.gz rust-0909ce382fe2cd08a21cfe7c3bbad8fd7670a1bb.zip | |
libstd: Path docs: `file` is now `file_name`
Diffstat (limited to 'src/libstd/path.rs')
| -rw-r--r-- | src/libstd/path.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index 934b3156357..6732af556e0 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1485,7 +1485,7 @@ impl Path { iter_after(self.components().rev(), child.as_ref().components().rev()).is_some() } - /// Extracts the stem (non-extension) portion of `self.file()`. + /// Extracts the stem (non-extension) portion of `self.file_name()`. /// /// The stem is: /// @@ -1508,7 +1508,7 @@ impl Path { self.file_name().map(split_file_at_dot).and_then(|(before, after)| before.or(after)) } - /// Extracts the extension of `self.file()`, if possible. + /// Extracts the extension of `self.file_name()`, if possible. /// /// The extension is: /// |
