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 behavior of the std::path module is platform-dependent. On unix inputs are treated as unix-paths, on windows as windows-paths. So this is expected behavior.
I tried this code:
The result I would expect should be "test3", but it instead returns the entire path item. An example can be seen on the playground
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: