Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Aug 16, 2022
1 parent 54043a7 commit 5a95f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ pub fn check_literals(url: &Url, api: &Value, first_segment: &str) -> String {
let mut typos = String::new();
let meta = &api["meta"];
let api_map = api[ROUTE.as_ref()].as_table().unwrap();
api_map[&*first_segment][PATH.as_ref()]
api_map[first_segment][PATH.as_ref()]
.as_array()
.unwrap()
.iter()
Expand Down

0 comments on commit 5a95f75

Please sign in to comment.