diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-17 11:55:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-17 11:55:37 +0530 |
| commit | e8d29a9cfba395df58cf4695d4d68d0e42e1b1f3 (patch) | |
| tree | 89d33cd2c89e4b3cbe16fb408bc54a9c9f59f55b /src/libstd | |
| parent | 4f83c4b8513fe77ab27e1f8d07cf5c7d577a1fe2 (diff) | |
| parent | 0909ce382fe2cd08a21cfe7c3bbad8fd7670a1bb (diff) | |
| download | rust-e8d29a9cfba395df58cf4695d4d68d0e42e1b1f3.tar.gz rust-e8d29a9cfba395df58cf4695d4d68d0e42e1b1f3.zip | |
Rollup merge of #25465 - Ryman:patch-2, r=alexcrichton
r? @steveklabnik
Diffstat (limited to 'src/libstd')
| -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: /// |
