Skip to content

Commit

Permalink
Update rustc-hash to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jun 18, 2024
1 parent a9ef8dd commit c7efe06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
publish = false

[dependencies]
rustc-hash = "1"
rustc-hash = "2"
parking_lot = "0.12"
once_cell = { version = "1", features = ["parking_lot"] }
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub const CREDITS: &str = include_str!("../credits.txt");

/// Sets the global target translation language
pub fn set_language_target(lang: &str) {
*LANG.write() = lang.to_owned();
lang.clone_into(&mut LANG.write());
}

#[inline]
Expand Down

0 comments on commit c7efe06

Please sign in to comment.