mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 20:03:37 +00:00
remove outdated comment from is_user_visible_dep
docs
This commit is contained in:
parent
5a7fffee71
commit
1c14b0ac0a
@ -862,10 +862,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user