about summary refs log tree commit diff
path: root/src/libcore/str/mod.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-20 16:11:20 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-20 16:11:20 +0300
commita613059e3fcfb751f7664f67a4a6c99faf436483 (patch)
treebf18260a765345837e95ddeb80f0e91f04a4a131 /src/libcore/str/mod.rs
parent2228bacd62ca8970a7a59401e78d0c5a34fc0f87 (diff)
downloadrust-a613059e3fcfb751f7664f67a4a6c99faf436483.tar.gz
rust-a613059e3fcfb751f7664f67a4a6c99faf436483.zip
Rename #[deprecated] to #[rustc_deprecated]
Diffstat (limited to 'src/libcore/str/mod.rs')
-rw-r--r--src/libcore/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index f82b9d79d5c..c27059a9c3c 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -955,7 +955,7 @@ impl<'a> DoubleEndedIterator for Lines<'a> {
 
 /// Created with the method `.lines_any()`.
 #[stable(feature = "rust1", since = "1.0.0")]
-#[deprecated(since = "1.4.0", reason = "use lines()/Lines instead now")]
+#[rustc_deprecated(since = "1.4.0", reason = "use lines()/Lines instead now")]
 #[derive(Clone)]
 #[allow(deprecated)]
 pub struct LinesAny<'a>(Lines<'a>);