We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38fce12 + fa4288a commit 4c123a0Copy full SHA for 4c123a0
clippy_utils/src/ty.rs
@@ -30,7 +30,7 @@ use std::iter;
30
31
use crate::{match_def_path, path_res, paths};
32
33
-// Checks if the given type implements copy.
+/// Checks if the given type implements copy.
34
pub fn is_copy<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool {
35
ty.is_copy_modulo_regions(cx.tcx, cx.param_env)
36
}
0 commit comments