Add a comment

This commit is contained in:
John Kåre Alsaker 2018-12-11 18:44:57 +01:00
parent 9d888eadc5
commit 517725c571

View File

@ -160,6 +160,9 @@ impl Forest {
&self.krate
}
/// This is internally in the depedency tracking system.
/// Use the `krate` method to ensure your dependency on the
/// crate is tracked.
pub fn untracked_krate<'hir>(&'hir self) -> &'hir Crate {
&self.krate
}