about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorEvgeny Safronov <division494@gmail.com>2017-04-08 21:25:30 +0300
committerEvgeny Safronov <division494@gmail.com>2017-04-14 09:46:03 +0300
commit0eecd5150d7d7456f324fe654076d6f9709c5106 (patch)
treef460079a3e3e88bd0f136cdace122abcb602be1d /src/libcollections
parent4cb9de48fbf3e616d80bb6726ce590e06c763a1e (diff)
downloadrust-0eecd5150d7d7456f324fe654076d6f9709c5106.tar.gz
rust-0eecd5150d7d7456f324fe654076d6f9709c5106.zip
refactor: add reason string
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 6da4cc1c713..8d6cf305112 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -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[..]
     }