(&self)
| 187 | pub const fn new(path: &'static str) -> Self { |
| 188 | validate_const(path); |
| 189 | Self(Cow::Borrowed(path)) |
| 190 | } |
| 191 | |
| 192 | pub fn try_new(path: impl Into<String>) -> Result<Self, ResPathError> { |
| 193 | let path = path.into(); |
| 194 | validate(&path)?; |
nothing calls this directly
no test coverage detected