Skip to content

Commit e313dcf

Browse files
committed
style: format build.rs with cargo fmt
- Fix code formatting in build.rs to pass CI checks - Ensure consistent Rust code style across project
1 parent e7b29d4 commit e313dcf

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

build.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@ fn main() {
22
#[cfg(target_os = "windows")]
33
{
44
println!("cargo:rerun-if-changed=icon.ico");
5-
5+
66
let mut res = winresource::WindowsResource::new();
77
res.set_icon("icon.ico");
88
res.set("ProductName", "Slashsum");
99
res.set("CompanyName", "NDXDeveloper");
1010
res.set("LegalCopyright", "© NDXDeveloper");
11-
res.set("FileDescription", "Calculate multiple checksums simultaneously");
11+
res.set(
12+
"FileDescription",
13+
"Calculate multiple checksums simultaneously",
14+
);
1215
res.set("ProductVersion", env!("CARGO_PKG_VERSION"));
1316
res.set("FileVersion", env!("CARGO_PKG_VERSION"));
14-
17+
1518
if let Err(e) = res.compile() {
1619
println!("cargo:warning=Failed to compile resources: {}", e);
1720
}

0 commit comments

Comments
 (0)