mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-18 06:56:59 +00:00
Add missing slash to produce function documentation
This commit is contained in:
parent
38fce1235a
commit
fa4288af1f
@ -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…
Reference in New Issue
Block a user