Skip to content

Commit 77acd25

Browse files
authored
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 rust-lang#118148
1 parent cf8d812 commit 77acd25

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/render

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ fn short_item_info(
673673
format!("Deprecating in {version}")
674674
}
675675
}
676-
DeprecatedSince::Future => String::from("Deprecating in a future Rust version"),
676+
DeprecatedSince::Future => String::from("Deprecating in a future version"),
677677
DeprecatedSince::NonStandard(since) => {
678678
format!("Deprecated since {}", Escape(since.as_str()))
679679
}

0 commit comments

Comments
 (0)