Skip to content

Commit

Permalink
chore: cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Westerlind committed Apr 28, 2022
1 parent 3b0e2d8 commit 80453ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libflux/flux-core/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ impl<'input> Parser<'input> {
let t = self.expect_one_of(&[TokenType::Ident, TokenType::String]);
match t.tok {
TokenType::String => PropertyKey::StringLit(self.new_string_literal(t)),
TokenType::Ident | _ => PropertyKey::Identifier(Identifier {
_ => PropertyKey::Identifier(Identifier {
base: self.base_node_from_token(&t),
name: t.lit,
}),
Expand Down

0 comments on commit 80453ed

Please sign in to comment.