Skip to content

Commit

Permalink
Avoid allocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Jan 14, 2025
1 parent 5e81a47 commit d268a57
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jaq/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ fn binds(cli: &Cli) -> Result<Vec<(String, Val)>, Error> {
Ok((k.to_owned(), Val::Str(s.into())))
});
let argjson = cli.argjson.iter().map(|(k, s)| {
let s = s.to_owned();
use hifijson::token::Lex;
let mut lexer = hifijson::SliceLexer::new(s.as_bytes());
let v = lexer
Expand Down

0 comments on commit d268a57

Please sign in to comment.