Skip to content

Commit 73370c5

Browse files
committed
Add tracking issue number for Utf8Error::error_len
1 parent b5f16a1 commit 73370c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl Utf8Error {
166166
/// that starts at the index given by `valid_up_to()`.
167167
/// Decoding should resume after that sequence
168168
/// (after inserting a U+FFFD REPLACEMENT CHARACTER) in case of lossy decoding.
169-
#[unstable(feature = "utf8_error_error_len", reason ="new", issue = "0")]
169+
#[unstable(feature = "utf8_error_error_len", reason ="new", issue = "40494")]
170170
pub fn error_len(&self) -> Option<usize> {
171171
self.error_len.map(|len| len as usize)
172172
}

0 commit comments

Comments
 (0)