Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Jun 28, 2024
1 parent ffbccac commit 0f36fb5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ mod tests {
assert_matches!(run(args), Ok(Some(res)) if res == expected_output, "Program {} failed with flags {}", program, extra_flags.concat());
}

// these tests a separated so as to run them without --append_return_values and --proof_mode options
// these tests are separated so as to run them without --append_return_values and --proof_mode options
#[rstest]
#[case(
"dict_non_squashed/dict_with_struct_non_squash.cairo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ fn main() -> Felt252Dict<Nullable<FP16x16>> {

// TODO: remove this temporary fix once fixed in cairo
#[inline(never)]
fn identity<T>(t: T) -> T { t }
fn identity<T>(t: T) -> T { t }
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ fn main() -> Felt252Dict<Nullable<Span<felt252>>> {
d.insert(66675, nullable_from_box(BoxTrait::new(a.span())));
d.insert(66676, nullable_from_box(BoxTrait::new(b.span())));
d
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ fn main() -> NullableVec<u32> {

// TODO: remove this temporary fix once fixed in cairo
#[inline(never)]
fn identity<T>(t: T) -> T { t }
fn identity<T>(t: T) -> T { t }
2 changes: 1 addition & 1 deletion cairo_programs/cairo-1-programs/felt_dict_squash.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ fn main() -> SquashedFelt252Dict<Nullable<Span<felt252>>> {
d.insert(66676, nullable_from_box(BoxTrait::new(b.span())));
d.insert(66675, nullable_from_box(BoxTrait::new(c.span())));
d.squash()
}
}

0 comments on commit 0f36fb5

Please sign in to comment.