Skip to content

Commit

Permalink
Fix the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed May 3, 2023
1 parent 6fd7d8c commit 22b1a5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fuel-vm/src/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ impl CheckedMemRange {
Self::new_inner(address as usize, size, constraint)
}

/// Create a new memory range, checks that the range is not empty
/// and that it fits into the constraint.
/// Create a new memory range, checks that the range fits into the constraint.
fn new_inner(address: usize, size: usize, constraint: core::ops::Range<Word>) -> Result<Self, RuntimeError> {
if size == 0 {
return Ok(Self(address..address));
Expand Down

0 comments on commit 22b1a5f

Please sign in to comment.