Skip to content

Commit 870f395

Browse files
committed
Fix link to ty::Ty in clippy_utils
1 parent a6a78e1 commit 870f395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use crate::{def_path_def_ids, match_def_path, path_res};
3737
mod type_certainty;
3838
pub use type_certainty::expr_type_is_certain;
3939

40-
/// Lower a [`hir::Ty`] to a [`rustc_middle::Ty`].
40+
/// Lower a [`hir::Ty`] to a [`rustc_middle::ty::Ty`].
4141
pub fn ty_from_hir_ty<'tcx>(cx: &LateContext<'tcx>, hir_ty: &hir::Ty<'tcx>) -> Ty<'tcx> {
4242
cx.maybe_typeck_results()
4343
.and_then(|results| {

0 commit comments

Comments
 (0)