Skip to content

Commit

Permalink
Removing unnecessary borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
yhakbar authored Aug 17, 2024
1 parent 244d701 commit 90329f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/yadayada-alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod alias {
)?;

let echo_test_value = file_value
.get(&serde_yaml::Value::String("echo-test".to_string()))
.get(serde_yaml::Value::String("echo-test".to_string()))
.expect("Error getting echo-test value");

println!("{}", std::fs::read_to_string(&tmp_ya_yml).expect("Error reading ya.yml"));
Expand Down

0 comments on commit 90329f0

Please sign in to comment.