Skip to content

Commit c15fd7d

Browse files
committed
Mention the name OMG-WTF-8.
1 parent 7e1b032 commit c15fd7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

text/0000-os-str-pattern.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ assert_eq!(parts.next(), None);
229229
It is trivial to apply the pattern API to `OsStr` on platforms where it is just an `[u8]`. The main
230230
difficulty is on Windows where it is an `[u16]` encoded as WTF-8. This RFC thus focuses on Windows.
231231

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:
233233

234234
1. Slicing a surrogate pair in half:
235235

@@ -248,7 +248,9 @@ We will generalize the encoding of `OsStr` to specify these two capabilities:
248248
```
249249

250250
These allow us to implement thePattern 1.5API 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
252254

253255
## Slicing
254256

0 commit comments

Comments
 (0)