mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
remove outdated comment from is_user_visible_dep docs
This commit is contained in:
@@ -862,10 +862,6 @@ pub fn def_kind_descr_article(self, def_kind: DefKind, def_id: DefId) -> &'stati
|
||||
/// 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 {
|
||||
|
||||
Reference in New Issue
Block a user