We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974b1e3 commit 3162986Copy full SHA for 3162986
compiler/rustc_middle/src/hir/map/mod.rs
@@ -225,7 +225,7 @@ impl<'hir> Map<'hir> {
225
self.tcx.definitions_untracked().iter_local_def_id()
226
}
227
228
- /// Do not call this function directly. The query should be called.
+ /// Do not call this function directly. The query should be called.
229
pub(super) fn opt_def_kind(self, local_def_id: LocalDefId) -> Option<DefKind> {
230
let hir_id = self.local_def_id_to_hir_id(local_def_id);
231
let def_kind = match self.find(hir_id)? {
0 commit comments