Skip to content

Commit

Permalink
Unify string conversion style
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 20, 2024
1 parent 0d0be15 commit e03ea78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ mod tests {
let mut config = crate::de::BuildConfig::default();
let cx =
&ResolveOptions::default().env(env_list).into_context(std::env::current_dir().unwrap());
config.rustc_wrapper = Some(Value { val: "rustc_wrapper".to_string(), definition: None });
config.rustc_wrapper = Some(Value { val: "rustc_wrapper".to_owned(), definition: None });
config.rustc_workspace_wrapper =
Some(Value { val: "rustc_workspace_wrapper".to_string(), definition: None });
Some(Value { val: "rustc_workspace_wrapper".to_owned(), definition: None });
config.apply_env(cx).unwrap();
assert!(config.rustc_wrapper.is_none());
assert!(config.rustc_workspace_wrapper.is_none());
Expand Down

0 comments on commit e03ea78

Please sign in to comment.