Document file path case sensitivity

This commit is contained in:
Chris Denton 2021-12-02 19:37:25 +00:00
parent e5038e2099
commit d8832425fc
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@
//! [`PathBuf`]; note that the paths may differ syntactically by the
//! normalization described in the documentation for the [`components`] method.
//!
//! ## Case sensitivity
//!
//! Unless otherwise indicated path methods that do not access the filesystem,
//! such as [`Path::starts_with`] and [`Path::ends_with`], are case sensitive no
//! matter the platform or filesystem. An exception to this is made for Windows
//! drive letters.
//!
//! ## Simple usage
//!
//! Path manipulation includes both parsing components from slices and building