Skip to content

Commit

Permalink
fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Fontana authored and Pedro Fontana committed Feb 9, 2024
1 parent fe0c8db commit dc0155f
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 1 deletion.
239 changes: 239 additions & 0 deletions fuzzer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vm/src/serde/deserialize_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fn take_until_unbalanced(
.ok_or_else(|| Err::Error(Error::from_error_kind(i, ErrorKind::TakeUntil)))?
.chars();
match it.next().unwrap_or_default() {
c if c == '\\' => {
'\\' => {
// Skip the escape char `\`.
index += '\\'.len_utf8();
// Skip also the following char.
Expand Down
1 change: 1 addition & 0 deletions vm/src/vm/runners/cairo_pie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ mod serde_impl {
seq_serializer.end()
}

#[allow(clippy::format_collect)]
pub fn serialize_memory<S>(
values: &[((usize, usize), MaybeRelocatable)],
serializer: S,
Expand Down

0 comments on commit dc0155f

Please sign in to comment.