Skip to content

Commit 2b02678

Browse files
committed
Update comment on PrimTy::name_str
1 parent 7f4afdf commit 2b02678

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)