Commit 3f32505
committed
Auto merge of rust-lang#75246 - pickfire:patch-5, r=Amanieu
Add more examples to Path ends_with
We faced a footgun when using ends_with to check extension,
showing an example could prevent that.
rust-dc/fish-manpage-completions@2c155e51 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2057 | 2057 | | |
2058 | 2058 | | |
2059 | 2059 | | |
2060 | | - | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
2061 | 2065 | | |
2062 | | - | |
| 2066 | + | |
| 2067 | + | |
2063 | 2068 | | |
2064 | 2069 | | |
2065 | 2070 | | |
| |||
0 commit comments