-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong documentation for std::path::Path::file_name #34632
Comments
The problem is still in nightly. @bennofs: Want to fix it? |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Jul 5, 2016
…eveklabnik Fix `std::path::Path::file_name()` doc Fixes rust-lang#34632 r? @steveklabnik
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 8, 2016
…eveklabnik Fix `std::path::Path::file_name()` doc Fixes rust-lang#34632 r? @steveklabnik
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jul 8, 2016
…eveklabnik Fix `std::path::Path::file_name()` doc Fixes rust-lang#34632 r? @steveklabnik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation states:
but:
prints
(Playground: https://play.rust-lang.org/?gist=2eddf89b4c80926240b9cbd4d6d40821&version=stable&backtrace=0)
I think the documentation for the "ends with ." case is wrong.
The text was updated successfully, but these errors were encountered: