Skip to content

Commit

Permalink
format and structure fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena committed Apr 29, 2024
1 parent 019c3c6 commit c06dd5f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion detectors/unsafe-expect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,4 @@ impl<'tcx> LateLintPass<'tcx> for UnsafeExpect {

walk_expr(&mut visitor, body.value);
}
}
}
2 changes: 1 addition & 1 deletion detectors/unsafe-unwrap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,4 @@ impl<'tcx> LateLintPass<'tcx> for UnsafeUnwrap {

walk_expr(&mut visitor, body.value);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
authors = ["[your_name] <[your_email]>"]

[lib]
path = "lib.rs"
path = "src/lib.rs"

[features]
default = ["std"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
authors = ["[your_name] <[your_email]>"]

[lib]
path = "lib.rs"
path = "src/lib.rs"

[features]
default = ["std"]
Expand All @@ -23,4 +23,4 @@ scale = { workspace = true }
scale-info = { workspace = true }

[dev-dependencies]
ink_e2e = { workspace = true }
ink_e2e = { workspace = true }
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub use self::vault::{Vault, VaultRef};
#[ink::contract]
mod vault {
use core::result::Result;

use ink::{
env::call::{build_call, Selector},
storage::Mapping,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub use self::vault::{Vault, VaultRef};
#[ink::contract]
mod vault {
use core::result::Result;

use ink::{
env::call::{build_call, Selector},
storage::Mapping,
Expand Down

0 comments on commit c06dd5f

Please sign in to comment.