Skip to content

Commit 517725c

Browse files
committed
Add a comment
1 parent 9d888ea commit 517725c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/hir/map/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ impl Forest {
160160
&self.krate
161161
}
162162

163+
/// This is internally in the depedency tracking system.
164+
/// Use the `krate` method to ensure your dependency on the
165+
/// crate is tracked.
163166
pub fn untracked_krate<'hir>(&'hir self) -> &'hir Crate {
164167
&self.krate
165168
}

0 commit comments

Comments
 (0)