Skip to content

Commit

Permalink
Add preceding underscore to unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jul 23, 2024
1 parent aaf49c4 commit e1ae70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ mod tests {
#[should_panic]
fn invalid_language() {
static INVALID_LANGUAGE: &str = "[language.nonon]";
let config: Config = toml::from_str(INVALID_LANGUAGE).unwrap();
let _config: Config = toml::from_str(INVALID_LANGUAGE).unwrap();
}

#[test]
Expand Down

0 comments on commit e1ae70b

Please sign in to comment.