Skip to content

Commit 6b56e8e

Browse files
Rename first_not_private into first_non_private
1 parent 278d15c commit 6b56e8e

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
@@ -1500,7 +1500,7 @@ pub(crate) fn clean_middle_assoc_item<'tcx>(
15001500
/// or `doc(hidden)`). If it's not possible, it'll return the "end type".
15011501
///
15021502
/// If the path is not a re-export or is public, it'll return `None`.
1503-
fn first_not_private(
1503+
fn first_non_private(
15041504
cx: &mut DocContext<'_>,
15051505
hir_id: hir::HirId,
15061506
path: &hir::Path<'_>,
@@ -1595,7 +1595,7 @@ fn clean_qpath<'tcx>(hir_ty: &hir::Ty<'tcx>, cx: &mut DocContext<'tcx>) -> Type
15951595
expanded
15961596
} else {
15971597
// First we check if it's a private re-export.
1598-
let path = if let Some(path) = first_not_private(cx, hir_id, &path) {
1598+
let path = if let Some(path) = first_non_private(cx, hir_id, &path) {
15991599
path
16001600
} else {
16011601
clean_path(path, cx)

0 commit comments

Comments
 (0)