We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CowExt
1 parent 53bc216 commit b44b550Copy full SHA for b44b550
README.md
@@ -31,10 +31,10 @@ and [`path/filepath.ToSlash`](https://golang.org/pkg/path/filepath/#ToSlash).
31
- `PathBuf::to_slash(&self) -> Option<Cow<'_, Path>>`
32
- `PathBuf::to_slash_lossy(&self) -> Cow<'_, Path>`
33
- `CowExt`
34
- - `fn from_slash(s: &str) -> Self`
35
- - `fn from_slash_lossy(s: &OsStr) -> Self`
36
- - `fn from_backslash(s: &str) -> Self`
37
- - `fn from_backslash_lossy(s: &OsStr) -> Self`
+ - `Cow::<Path>::from_slash(s: &str) -> Self`
+ - `Cow::<Path>::from_slash_lossy(s: &OsStr) -> Self`
+ - `Cow::<Path>::from_backslash(s: &str) -> Self`
+ - `Cow::<Path>::from_backslash_lossy(s: &OsStr) -> Self`
38
39
```rust
40
fn example_path_ext() {
0 commit comments