Skip to content

Commit

Permalink
move around imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Aug 4, 2024
1 parent 3b4b0a8 commit 69ad5ed
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 22 deletions.
4 changes: 2 additions & 2 deletions steps/41/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/42/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/43/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/44/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/45/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/46/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/47/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
4 changes: 2 additions & 2 deletions steps/48/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
1 change: 0 additions & 1 deletion steps/49/src/impls.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use super::*;
use frame::prelude::*;
use frame::primitives::BlakeTwo256;
/* 🚧 TODO 🚧: Import `frame::traits::fungible::Mutate`. */
/* 🚧 TODO 🚧: Import `frame::traits::tokens::Preservation`. */
use frame::traits::Hash;

Expand Down
4 changes: 2 additions & 2 deletions steps/49/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down
1 change: 0 additions & 1 deletion steps/50/src/impls.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use super::*;
use frame::prelude::*;
use frame::primitives::BlakeTwo256;
use frame::traits::fungible::Mutate;
use frame::traits::tokens::Preservation;
use frame::traits::Hash;

Expand Down
4 changes: 2 additions & 2 deletions steps/50/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
mod impls;

use frame::prelude::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;
pub use pallet::*;

#[frame::pallet(dev_mode)]
pub mod pallet {
use super::*;
use frame::traits::fungible::Inspect;
use frame::traits::fungible::Mutate;

#[pallet::pallet]
pub struct Pallet<T>(core::marker::PhantomData<T>);
Expand Down

0 comments on commit 69ad5ed

Please sign in to comment.