Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
milancermak committed Aug 23, 2024
1 parent 312f481 commit 3e76b4f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod num_traits;
mod zero_trait;
mod pow;
mod zero_trait;

mod parse;
2 changes: 1 addition & 1 deletion packages/macros/src/num_traits.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cairo_lang_macro::{derive_macro, ProcMacroResult, TokenStream};

use crate::parse::{StructInfo, parse_struct_info};
use crate::parse::{parse_struct_info, StructInfo};

struct OpInfo {
trait_name: String,
Expand Down
2 changes: 1 addition & 1 deletion packages/macros/src/zero_trait.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use cairo_lang_macro::{derive_macro, ProcMacroResult, TokenStream};
use crate::parse::{parse_struct_info, StructInfo};
use cairo_lang_macro::{derive_macro, ProcMacroResult, TokenStream};

fn generate_zero_trait_impl(s: &StructInfo) -> String {
let generic_params = s
Expand Down
1 change: 0 additions & 1 deletion packages/macros_tests/src/test_zero_trait.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ struct C {
}



#[test]
fn test_zero_derive() {
let b0: B = B { a: 0, b: 0 };
Expand Down

0 comments on commit 3e76b4f

Please sign in to comment.