Rollup merge of #84469 - jyn514:dead-code, r=Mark-Simulacrum
Update comment on `PrimTy::name_str` It's no longer used by rustdoc.
This commit is contained in:
commit
62db03cd62
1 changed files with 1 additions and 1 deletions
|
@ -2201,7 +2201,7 @@ impl PrimTy {
|
|||
|
||||
/// Like [`PrimTy::name`], but returns a &str instead of a symbol.
|
||||
///
|
||||
/// Used by rustdoc.
|
||||
/// Used by clippy.
|
||||
pub fn name_str(self) -> &'static str {
|
||||
match self {
|
||||
PrimTy::Int(i) => i.name_str(),
|
||||
|
|
Loading…
Add table
Reference in a new issue