Fix, reference by value for Language as everywhere
This commit is contained in:
parent
759af6d0a4
commit
a08c61235d
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ fn test_lookahead_iterator() {
|
|||
lookahead.reset_state(next_state);
|
||||
assert!(lookahead.iter_names().eq(expected_symbols));
|
||||
|
||||
lookahead.reset(&language, next_state);
|
||||
lookahead.reset(language, next_state);
|
||||
assert!(lookahead
|
||||
.map(|s| language.node_kind_for_id(s).unwrap())
|
||||
.eq(expected_symbols));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue