]> git.lizzy.rs Git - rust.git/commitdiff
refactor: add reason string
authorEvgeny Safronov <division494@gmail.com>
Sat, 8 Apr 2017 18:25:30 +0000 (21:25 +0300)
committerEvgeny Safronov <division494@gmail.com>
Fri, 14 Apr 2017 06:46:03 +0000 (09:46 +0300)
src/libcollections/string.rs

index 6da4cc1c7138bc4d8f7e7e679b3a18cdb094150d..8d6cf30511260b64ad83b54fecf1487b2f8dfd75 100644 (file)
@@ -1418,7 +1418,7 @@ impl FromUtf8Error {
     ///
     /// assert_eq!(&[0, 159], value.unwrap_err().as_bytes());
     /// ```
-    #[unstable(feature = "from_utf8_error_as_bytes", issue = "40895")]
+    #[unstable(feature = "from_utf8_error_as_bytes", reason = "recently added", issue = "40895")]
     pub fn as_bytes(&self) -> &[u8] {
         &self.bytes[..]
     }