From 0eecd5150d7d7456f324fe654076d6f9709c5106 Mon Sep 17 00:00:00 2001 From: Evgeny Safronov Date: Sat, 8 Apr 2017 21:25:30 +0300 Subject: [PATCH] refactor: add reason string --- src/libcollections/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index 6da4cc1c7138..8d6cf3051126 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[..] }