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>
This commit is contained in:
parent
cf8d81213c
commit
1b503042b8
2 changed files with 2 additions and 2 deletions
|
|
@ -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()))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue