Skip to content

Commit

Permalink
remove outdated comment from is_user_visible_dep docs
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed May 8, 2023
1 parent 1d3799e commit 3d3bd20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/rustc_middle/src/ty/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,6 @@ impl<'tcx> TyCtxt<'tcx> {
/// dependency, or a [direct] private dependency. This is used to decide whether the crate can
/// be shown in `impl` suggestions.
///
/// # Panics
///
/// This function assumes `key` exists.
///
/// [public]: TyCtxt::is_private_dep
/// [direct]: rustc_session::cstore::ExternCrate::is_direct
pub fn is_user_visible_dep(self, key: CrateNum) -> bool {
Expand Down

0 comments on commit 3d3bd20

Please sign in to comment.