diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-03-13 23:54:06 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2017-03-14 10:03:08 +0100 |
| commit | 73370c543ea130a3d6d9097aa56b786c72dc6c94 (patch) | |
| tree | 935ec0fcfdc7e79ece0a3206be42f0b039177caa | |
| parent | b5f16a10e9406fc1c19294fee1c33e507a17458e (diff) | |
| download | rust-73370c543ea130a3d6d9097aa56b786c72dc6c94.tar.gz rust-73370c543ea130a3d6d9097aa56b786c72dc6c94.zip | |
Add tracking issue number for Utf8Error::error_len
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 63b12932c3d..2919adc1cbc 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -166,7 +166,7 @@ impl Utf8Error { /// that starts at the index given by `valid_up_to()`. /// Decoding should resume after that sequence /// (after inserting a U+FFFD REPLACEMENT CHARACTER) in case of lossy decoding. - #[unstable(feature = "utf8_error_error_len", reason ="new", issue = "0")] + #[unstable(feature = "utf8_error_error_len", reason ="new", issue = "40494")] pub fn error_len(&self) -> Option<usize> { self.error_len.map(|len| len as usize) } |
