We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8328b52 commit 3980ff2Copy full SHA for 3980ff2
src/discouraged.rs
@@ -183,9 +183,9 @@ impl<'a> Speculative for ParseBuffer<'a> {
183
fork_unexp.set(Unexpected::Chain(self_unexp));
184
185
// Ensure toplevel 'unexpected' tokens from the fork don't
186
- // bubble up the chain by replacing the root `unexpected`
+ // propagate up the chain by replacing the root `unexpected`
187
// pointer, only 'unexpected' tokens from existing group
188
- // parsers should bubble.
+ // parsers should propagate.
189
fork.unexpected
190
.set(Some(Rc::new(Cell::new(Unexpected::None))));
191
}
0 commit comments