Skip to content

Commit 0fd8cb4

Browse files
committed
Update outdated comment for split_auto_traits private fn
1 parent 67d99d9 commit 0fd8cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/astconv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ impl<'o, 'gcx: 'tcx, 'tcx> AstConv<'gcx, 'tcx>+'o {
13181318
}
13191319
}
13201320

1321-
/// Divides a list of general trait bounds into two groups: builtin bounds (Sync/Send) and the
1321+
/// Divides a list of general trait bounds into two groups: auto traits (e.g. Sync and Send) and the
13221322
/// remaining general trait bounds.
13231323
fn split_auto_traits<'a, 'b, 'gcx, 'tcx>(tcx: TyCtxt<'a, 'gcx, 'tcx>,
13241324
trait_bounds: &'b [hir::PolyTraitRef])

0 commit comments

Comments
 (0)