Skip to content

Commit 1d1951b

Browse files
Rename first_not_private into first_non_private
1 parent f37a6b0 commit 1d1951b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/clean/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ pub(crate) fn clean_middle_assoc_item<'tcx>(
14831483
/// or `doc(hidden)`). If it's not possible, it'll return the "end type".
14841484
///
14851485
/// If the path is not a re-export or is public, it'll return `None`.
1486-
fn first_not_private(
1486+
fn first_non_private(
14871487
cx: &mut DocContext<'_>,
14881488
hir_id: hir::HirId,
14891489
path: &hir::Path<'_>,
@@ -1578,7 +1578,7 @@ fn clean_qpath<'tcx>(hir_ty: &hir::Ty<'tcx>, cx: &mut DocContext<'tcx>) -> Type
15781578
expanded
15791579
} else {
15801580
// First we check if it's a private re-export.
1581-
let path = if let Some(path) = first_not_private(cx, hir_id, &path) {
1581+
let path = if let Some(path) = first_non_private(cx, hir_id, &path) {
15821582
path
15831583
} else {
15841584
clean_path(path, cx)

0 commit comments

Comments
 (0)