about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorHarold Dost <github@hdost.com>2023-12-04 10:29:01 +0100
committerHarold Dost <h.dost@criteo.com>2023-12-05 09:18:41 +0100
commit1b503042b850519aa9308dbf11ddb16e7dfdeeae (patch)
tree1ef66ea38693c62d9a77fae4b5b8391f2eb06f8d /src/librustdoc/html
parentcf8d81213c193fc0ca9f2b99165476f8ae028295 (diff)
downloadrust-1b503042b850519aa9308dbf11ddb16e7dfdeeae.tar.gz
rust-1b503042b850519aa9308dbf11ddb16e7dfdeeae.zip
Remove mention of rust to make the error message generic.
The deprecation notice is used when in crates as well. This applies to versions Rust or Crates.

Fixes #118148

Signed-off-by: Harold Dost <h.dost@criteo.com>
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index e076c1b92e6..58599de76ea 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -673,7 +673,7 @@ fn short_item_info(
                     format!("Deprecating in {version}")
                 }
             }
-            DeprecatedSince::Future => String::from("Deprecating in a future Rust version"),
+            DeprecatedSince::Future => String::from("Deprecating in a future version"),
             DeprecatedSince::NonStandard(since) => {
                 format!("Deprecated since {}", Escape(since.as_str()))
             }