Fix some comments
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
parent
8e34642262
commit
1adf0c16ff
4 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ pub(super) fn check_refining_return_position_impl_trait_in_trait<'tcx>(
|
|||
return;
|
||||
}
|
||||
|
||||
// If a type in the trait ref is private, then there's also no reason to to do this check.
|
||||
// If a type in the trait ref is private, then there's also no reason to do this check.
|
||||
let impl_def_id = impl_m.container_id(tcx);
|
||||
for arg in impl_trait_ref.args {
|
||||
if let Some(ty) = arg.as_type()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue