Skip to content

Commit eb50d3e

Browse files
author
Jorge Aparicio
committed
undo one for Sized? removal that was in a comment
1 parent c26f580 commit eb50d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/traits/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl<'cx, 'tcx> Elaborator<'cx, 'tcx> {
9393
// seen. This is necessary to prevent infinite
9494
// recursion in some cases. One common case is when
9595
// people define `trait Sized { }` rather than `trait
96-
// Sized { }`.
96+
// Sized for Sized? { }`.
9797
predicates.retain(|r| self.visited.insert(r.clone()));
9898

9999
self.stack.push(StackEntry { position: 0,

0 commit comments

Comments
 (0)