We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5851e7 commit 1e4bce2Copy full SHA for 1e4bce2
src/tools/clippy/clippy_utils/src/ty/mod.rs
@@ -37,7 +37,7 @@ use crate::{def_path_def_ids, match_def_path, path_res};
37
mod type_certainty;
38
pub use type_certainty::expr_type_is_certain;
39
40
-/// Lower a [`hir::Ty`] to a [`rustc_middle::Ty`].
+/// Lower a [`hir::Ty`] to a [`rustc_middle::ty::Ty`].
41
pub fn ty_from_hir_ty<'tcx>(cx: &LateContext<'tcx>, hir_ty: &hir::Ty<'tcx>) -> Ty<'tcx> {
42
cx.maybe_typeck_results()
43
.and_then(|results| {
0 commit comments