Fix clippy warnings
This commit is contained in:
parent
a6e8663ab7
commit
6b2350f266
@ -1,12 +1,12 @@
|
||||
//! Filesystem path definitions and manipulation functions
|
||||
|
||||
/// Parent directory path element
|
||||
pub const PARENT_NAME: &'static str = "..";
|
||||
pub const PARENT_NAME: &str = "..";
|
||||
/// Path element that refers to itself
|
||||
pub const SELF_NAME: &'static str = ".";
|
||||
pub const SELF_NAME: &str = ".";
|
||||
|
||||
/// String representation of a path separator
|
||||
pub const SEPARATOR_STR: &'static str = "/";
|
||||
pub const SEPARATOR_STR: &str = "/";
|
||||
/// Character that separates the path elements
|
||||
pub const SEPARATOR: char = '/';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user