Skip to content

Commit aab349d

Browse files
maxholmanclaude
andcommitted
style: cargo fmt
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c741be commit aab349d

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cli/build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ impl AddCustomEntries<&str, &str> for WallhackBuildEnv {
1919
_cargo_warning: &mut CargoWarning,
2020
) -> anyhow::Result<()> {
2121
let profile = std::env::var("PROFILE").unwrap_or_else(|_| "unknown".to_string());
22-
cargo_rustc_env_map.insert("WALLHACK_BUILD_PROFILE", Box::leak(profile.into_boxed_str()));
22+
cargo_rustc_env_map.insert(
23+
"WALLHACK_BUILD_PROFILE",
24+
Box::leak(profile.into_boxed_str()),
25+
);
2326
Ok(())
2427
}
2528

crates/mcp/build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ impl AddCustomEntries<&str, &str> for WallhackBuildEnv {
1919
_cargo_warning: &mut CargoWarning,
2020
) -> anyhow::Result<()> {
2121
let profile = std::env::var("PROFILE").unwrap_or_else(|_| "unknown".to_string());
22-
cargo_rustc_env_map.insert("WALLHACK_BUILD_PROFILE", Box::leak(profile.into_boxed_str()));
22+
cargo_rustc_env_map.insert(
23+
"WALLHACK_BUILD_PROFILE",
24+
Box::leak(profile.into_boxed_str()),
25+
);
2326
Ok(())
2427
}
2528

0 commit comments

Comments
 (0)