Skip to content

Commit 1c14b0a

Browse files
committed
remove outdated comment from is_user_visible_dep docs
1 parent 5a7fffe commit 1c14b0a

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+0
-4
lines changed

compiler/rustc_middle/src/ty/util.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,6 @@ impl<'tcx> TyCtxt<'tcx> {
862862
/// dependency, or a [direct] private dependency. This is used to decide whether the crate can
863863
/// be shown in `impl` suggestions.
864864
///
865-
/// # Panics
866-
///
867-
/// This function assumes `key` exists.
868-
///
869865
/// [public]: TyCtxt::is_private_dep
870866
/// [direct]: rustc_session::cstore::ExternCrate::is_direct
871867
pub fn is_user_visible_dep(self, key: CrateNum) -> bool {

0 commit comments

Comments
 (0)