Skip to content

Commit 62db03c

Browse files
authored
Rollup merge of #84469 - jyn514:dead-code, r=Mark-Simulacrum
Update comment on `PrimTy::name_str` It's no longer used by rustdoc.
2 parents e07c7b5 + 2b02678 commit 62db03c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ impl PrimTy {
22012201

22022202
/// Like [`PrimTy::name`], but returns a &str instead of a symbol.
22032203
///
2204-
/// Used by rustdoc.
2204+
/// Used by clippy.
22052205
pub fn name_str(self) -> &'static str {
22062206
match self {
22072207
PrimTy::Int(i) => i.name_str(),

0 commit comments

Comments
 (0)