diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2022-12-02 16:26:15 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2022-12-02 16:26:15 +0100 |
| commit | fa4288af1fc379e5f83fb697a10b6a6758d5caf7 (patch) | |
| tree | 4df5e8a1206e4a37d06438bc5385f1d5f3849a02 | |
| parent | 38fce1235a024078d996a52d7f89692ea3005268 (diff) | |
Add missing slash to produce function documentation
| -rw-r--r-- | clippy_utils/src/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/ty.rs b/clippy_utils/src/ty.rs index bfb2d472a39..81b08ae5600 100644 --- a/clippy_utils/src/ty.rs +++ b/clippy_utils/src/ty.rs @@ -30,7 +30,7 @@ use std::iter; use crate::{match_def_path, path_res, paths}; -// Checks if the given type implements copy. +/// Checks if the given type implements copy. pub fn is_copy<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool { ty.is_copy_modulo_regions(cx.tcx, cx.param_env) } |
