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>
Co-authored-by: Adrian Palacios <73246657+adpaco-aws@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 25, 2023
1 parent c06d5c3 commit 9ec6a91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kani-compiler/src/kani_middle/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub fn check_unstable_features(tcx: TyCtxt, enabled_features: &[String], def_id:
err.note(format!("see issue {link} for more information"));
}
err.help(format!(
"use `-Z {}` to enable use this API.",
"use `-Z {}` to enable using this API.",
unstable_attr.feature
));
err.emit();
Expand Down
6 changes: 3 additions & 3 deletions kani-driver/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ pub enum ConcretePlaybackMode {
#[derive(Copy, Clone, Debug, PartialEq, Eq, ValueEnum, strum_macros::Display)]
#[strum(serialize_all = "kebab-case")]
pub enum UnstableFeatures {
/// Allow replace certain items with stubs (mocks).
/// See (RFC-0002)[https://model-checking.github.io/kani/rfc/rfcs/0002-function-stubbing.html]
/// Allow replacing certain items with stubs (mocks).
/// See [RFC-0002](https://model-checking.github.io/kani/rfc/rfcs/0002-function-stubbing.html)
Stubbing,
/// Generate a C-like file equivalent to inputted program used for debugging purpose.
/// Generate a C-like file equivalent to input program used for debugging purpose.
GenC,
}

Expand Down

0 comments on commit 9ec6a91

Please sign in to comment.