fix(rust): fix new clippy warnings
This commit is contained in:
parent
149a2a9081
commit
3950dddfde
3 changed files with 5 additions and 5 deletions
|
|
@ -221,10 +221,7 @@ fn test_parsing_text_with_byte_order_mark() {
|
|||
|
||||
// Parse UTF16 text with a BOM
|
||||
let tree = parser
|
||||
.parse_utf16(
|
||||
&"\u{FEFF}fn a() {}".encode_utf16().collect::<Vec<_>>(),
|
||||
None,
|
||||
)
|
||||
.parse_utf16("\u{FEFF}fn a() {}".encode_utf16().collect::<Vec<_>>(), None)
|
||||
.unwrap();
|
||||
assert_eq!(
|
||||
tree.root_node().to_sexp(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue