Skip to content

Commit 89ce4ca

Browse files
style(Echo): Move imports to top of build.rs and add allow attribute
Reorganize the build.rs script to follow Rust conventions by placing the `use serde::Deserialize` import at the top of the file rather than at the bottom. Add the `#![allow(non_snake_case)]` attribute to suppress lints for potential non-snake_case naming patterns in future code, and remove trailing whitespace.
1 parent 7fa34c5 commit 89ce4ca

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#![allow(non_snake_case)]
2+
3+
use serde::Deserialize;
4+
15
#[derive(Deserialize)]
26
struct Toml {
37
package:Package,
@@ -19,5 +23,3 @@ fn main() {
1923
.version
2024
);
2125
}
22-
23-
use serde::Deserialize;

0 commit comments

Comments
 (0)