File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ assert_eq!(parts.next(), None);
229
229
It is trivial to apply the pattern API to ` OsStr ` on platforms where it is just an ` [u8] ` . The main
230
230
difficulty is on Windows where it is an ` [u16] ` encoded as WTF-8. This RFC thus focuses on Windows.
231
231
232
- We will generalize the encoding of ` OsStr ` to specify these two capabilities:
232
+ We will generalize the encoding of ` OsStr ` to “ [ OMG-WTF-8 ] ” which specifies these two capabilities:
233
233
234
234
1 . Slicing a surrogate pair in half:
235
235
@@ -248,7 +248,9 @@ We will generalize the encoding of `OsStr` to specify these two capabilities:
248
248
```
249
249
250
250
These allow us to implement the “Pattern 1.5 ” API for all `OsStr ` without panicking . Implementation
251
- detail can be found in the [`omgwtf8 ` package ](https : // github.com/kennytm/omgwtf8).
251
+ detail can be found in the [`omgwtf8 ` package ][OMG - WTF - 8 ].
252
+
253
+ [OMG - WTF - 8 ]: https : // github.com/kennytm/omgwtf8
252
254
253
255
## Slicing
254
256
You can’t perform that action at this time.
0 commit comments