Skip to content

Commit 3061f9f

Browse files
committed
Fix link in char docs
1 parent 77882c9 commit 3061f9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librustc_unicode/char.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,10 @@ impl char {
386386
/// Returns the number of 16-bit code units this `char` would need if
387387
/// encoded in UTF-16.
388388
///
389-
/// See the documentation for [`len_utf8()`][len_utf8] for more explanation
390-
/// of this concept. This function is a mirror, but for UTF-16 instead of
391-
/// UTF-8.
389+
/// See the documentation for [`len_utf8()`] for more explanation of this
390+
/// concept. This function is a mirror, but for UTF-16 instead of UTF-8.
391+
///
392+
/// [`len_utf8()`]: #method.len_utf8
392393
///
393394
/// # Examples
394395
///

0 commit comments

Comments
 (0)