Commit 3be2c9a
authored
Rollup merge of rust-lang#63184 - JasonShin:master, r=sfackler
Explaining the reason why validation is performed in to_str of path.rs
I thought it's good to explain the reason for the validation during the conversion between Path/PathBuffer into str, which explains the reason for returning an Option at this point (good for beginners who are reading through the docs).1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1819 | 1819 | | |
1820 | 1820 | | |
1821 | 1821 | | |
| 1822 | + | |
| 1823 | + | |
1822 | 1824 | | |
1823 | 1825 | | |
1824 | 1826 | | |
| |||
0 commit comments