Skip to content

Commit

Permalink
The ref on line 226 cause the rust analyser in vs code to flag an err…
Browse files Browse the repository at this point in the history
…or on 227. (#325)
  • Loading branch information
radicleart authored Sep 21, 2024
1 parent 6a0b9ca commit da7f84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ impl Air for WorkAir {
result: &mut [E],
) {
// First, we'll read the current state, and use it to compute the expected next state
let current_state = &frame.current()[0];
let current_state = frame.current()[0];
let next_state = current_state.exp(3u32.into()) + E::from(42u32);

// Then, we'll subtract the expected next state from the actual next state; this will
Expand Down
2 changes: 1 addition & 1 deletion winterfell/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
//! result: &mut [E],
//! ) {
//! // First, we'll read the current state, and use it to compute the expected next state
//! let current_state = &frame.current()[0];
//! let current_state = frame.current()[0];
//! let next_state = current_state.exp(3u32.into()) + E::from(42u32);
//!
//! // Then, we'll subtract the expected next state from the actual next state; this will
Expand Down

0 comments on commit da7f84a

Please sign in to comment.