Fix clippy warnings

This commit is contained in:
Mark Poliakov 2023-07-20 18:52:11 +03:00
parent a6e8663ab7
commit 6b2350f266

View File

@ -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 = '/';