about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/def.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-11 18:39:23 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-12 08:51:20 +0000
commite2773733f35f71dba92588d6b29e43d2cc035a34 (patch)
tree17c754ada35f89929260286ebda9eaad96a5867c /compiler/rustc_hir/src/def.rs
parentbbedde835e1b9bb3ec9255c2b49e5cac2398ece0 (diff)
downloadrust-e2773733f35f71dba92588d6b29e43d2cc035a34.tar.gz
rust-e2773733f35f71dba92588d6b29e43d2cc035a34.zip
Some comment nits
Diffstat (limited to 'compiler/rustc_hir/src/def.rs')
-rw-r--r--compiler/rustc_hir/src/def.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/def.rs b/compiler/rustc_hir/src/def.rs
index f6a616109c9..1810193c16b 100644
--- a/compiler/rustc_hir/src/def.rs
+++ b/compiler/rustc_hir/src/def.rs
@@ -251,7 +251,7 @@ impl DefKind {
             | DefKind::TyParam
             | DefKind::ExternCrate => DefPathData::TypeNs(name),
             // It's not exactly an anon const, but wrt DefPathData, there
-            // is not difference.
+            // is no difference.
             DefKind::Static { nested: true, .. } => DefPathData::AnonConst,
             DefKind::Fn
             | DefKind::Const