Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
  • Loading branch information
celinval and zhassan-aws authored Aug 13, 2024
1 parent eaf3c68 commit ea91888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/kani/FunctionContracts/fixme_old_requires_order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ pub fn next(mut val: i32) -> i32 {

#[kani::proof_for_contract(next)]
pub fn check_next() {
// let _ = next(kani::any_where(|val: &i32| *val < i32::MAX));
let _ = next(kani::any());
}
2 changes: 1 addition & 1 deletion tests/kani/FunctionContracts/fixme_receiver_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use std::pin::Pin;
use std::rc::Rc;
use std::sync::Arc;

/// Type representing a valid ASCII value going from `0..=128`.
/// Type representing a valid ASCII value going from `0..128`.
#[derive(Copy, Clone, PartialEq, Eq)]
#[rustc_layout_scalar_valid_range_start(0)]
#[rustc_layout_scalar_valid_range_end(128)]
Expand Down

0 comments on commit ea91888

Please sign in to comment.