Skip to content

Commit 42ff192

Browse files
committed
Fix some comments
1 parent 976f1b6 commit 42ff192

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

kani-driver/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn main() -> ExitCode {
4848

4949
if let Err(error) = result {
5050
// We are using the debug format for now to print the all the context.
51-
// We should consider create a standard for error reporting.
51+
// We should consider creating a standard for error reporting.
5252
debug!(?error, "main_failure");
5353
util::error(&format!("{error:#}"));
5454
ExitCode::FAILURE

kani-driver/src/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ pub fn specialized_harness_name(linked_obj: &Path, harness_filename: &str) -> Pa
8888
alter_extension(linked_obj, &format!("for-{harness_filename}.out"))
8989
}
9090

91-
/// Print a warning message. This will add a "warning:" tag before the message and style accordinly.
91+
/// Print a warning message. This will add a "warning:" tag before the message and style accordingly.
9292
pub fn warning(msg: &str) {
9393
let warning = console::style("warning:").bold().yellow();
9494
let msg_fmt = console::style(msg).bold();
9595
println!("{warning} {msg_fmt}")
9696
}
9797

98-
/// Print a warning message. This will add a "warning:" tag before the message and style accordinly.
98+
/// Print an error message. This will add an "error:" tag before the message and style accordingly.
9999
pub fn error(msg: &str) {
100100
let error = console::style("error:").bold().red();
101101
let msg_fmt = console::style(msg).bold();

0 commit comments

Comments
 (0)