Skip to content

Commit

Permalink
Auto merge of #10026 - samueltardieu:missing-slash, r=flip1995
Browse files Browse the repository at this point in the history
Add missing slash to produce function documentation

changelog: none
  • Loading branch information
bors committed Dec 2, 2022
2 parents 38fce12 + fa4288a commit 4c123a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_utils/src/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4c123a0

Please sign in to comment.