Auto merge of #10026 - samueltardieu:missing-slash, r=flip1995
Add missing slash to produce function documentation changelog: none
This commit is contained in:
commit
4c123a06ba
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user