We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Self: Sized
1 parent b16c7a2 commit 05329e5Copy full SHA for 05329e5
src/libsyntax/parse/lexer/mod.rs
@@ -73,7 +73,7 @@ fn mk_sp(lo: BytePos, hi: BytePos) -> Span {
73
}
74
75
impl<'a> StringReader<'a> {
76
- fn next_token(&mut self) -> TokenAndSpan where Self: Sized {
+ fn next_token(&mut self) -> TokenAndSpan {
77
let res = self.try_next_token();
78
self.unwrap_or_abort(res)
79
0 commit comments