Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
charlespierce committed Nov 11, 2019
1 parent 32dba27 commit b2d05b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/volta-core/src/run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub mod yarn;

cfg_if! {
if #[cfg(feature = "volta-updates")] {
const UNSAFE_GLOBAL: &'static str = "VOLTA_UNSAFE_GLOBAL";
const UNSAFE_GLOBAL: &str = "VOLTA_UNSAFE_GLOBAL";
} else {
use crate::env::UNSAFE_GLOBAL;
}
Expand Down

0 comments on commit b2d05b6

Please sign in to comment.