about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-05 16:08:35 +0100
committerGitHub <noreply@github.com>2023-12-05 16:08:35 +0100
commitfddda14ac0345c1d0ab602d6016b976c972aa643 (patch)
treee2c884b727a785faa903ac2d6ddb63361b64ab4d /src/librustdoc/html/render
parent30b4cefe64e1cb6496b2553e59a7ad5d4d86fc3f (diff)
parent1b503042b850519aa9308dbf11ddb16e7dfdeeae (diff)
downloadrust-fddda14ac0345c1d0ab602d6016b976c972aa643.tar.gz
rust-fddda14ac0345c1d0ab602d6016b976c972aa643.zip
Rollup merge of #118594 - hdost:patch-1, r=fmease
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.

Relates #118148
Diffstat (limited to 'src/librustdoc/html/render')
-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()))
             }