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 <[email protected]>
  • Loading branch information
celinval and zhassan-aws authored Oct 12, 2024
1 parent 32e3c0f commit c69f26a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kani-driver/src/args/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct CargoCommonArgs {
#[arg(long)]
pub workspace: bool,

/// Run Kani on the specified packages (see `cargo help pkgid` for accepted format)
/// Run Kani on the specified packages (see `cargo help pkgid` for the accepted format)
#[arg(long, short, conflicts_with("workspace"), num_args(1..))]
pub package: Vec<String>,

Expand Down
4 changes: 2 additions & 2 deletions kani-driver/src/call_cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ impl KaniSession {

/// Extract the packages that should be verified.
///
/// The result is build following these rules:
/// The result is built following these rules:
/// - If `--package <pkg>` is given, return the list of packages selected.
/// - If `--exclude <pkg>` is given, return the list of packages not excluded.
/// - If `--workspace` is given, return the list of workspace members.
Expand Down Expand Up @@ -401,7 +401,7 @@ impl KaniSession {
.filter_map(|pkg| pkg_ids.get(&pkg.id).copied())
.collect();
bail!(
"The following packages specified do not belong to this workspace: `{}`",
"The following specified packages were not found in this workspace: `{}`",
outer.join("`,")
);
}
Expand Down

0 comments on commit c69f26a

Please sign in to comment.