diff options
| author | bors <bors@rust-lang.org> | 2022-12-02 16:27:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-02 16:27:29 +0000 |
| commit | 4c123a06ba3c2ec17d3a4dfa251dccdc5368b712 (patch) | |
| tree | 4df5e8a1206e4a37d06438bc5385f1d5f3849a02 | |
| parent | 38fce1235a024078d996a52d7f89692ea3005268 (diff) | |
| parent | fa4288af1fc379e5f83fb697a10b6a6758d5caf7 (diff) | |
| download | rust-4c123a06ba3c2ec17d3a4dfa251dccdc5368b712.tar.gz rust-4c123a06ba3c2ec17d3a4dfa251dccdc5368b712.zip | |
Auto merge of #10026 - samueltardieu:missing-slash, r=flip1995
Add missing slash to produce function documentation changelog: none
| -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) } |
