You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The final component of the path, if it is a normal file.
If the path terminates in ., .., or consists solely of a root of prefix, file_name will return None.
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: