We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7612f7 commit 18483b4Copy full SHA for 18483b4
cargo-miri/bin.rs
@@ -140,7 +140,7 @@ fn xargo_check() -> Command {
140
Command::new(env::var_os("XARGO_CHECK").unwrap_or_else(|| OsString::from("xargo-check")))
141
}
142
143
-/// Execute the command if it fails, fail this process with the same exit code.
+/// Execute the command. If it fails, fail this process with the same exit code.
144
/// Otherwise, continue.
145
fn exec(mut cmd: Command) {
146
let exit_status = cmd.status().expect("failed to run command");
test-cargo-miri/src/lib.rs
@@ -1,6 +1,6 @@
1
/// Doc-test test
2
/// ```rust
3
-/// assert!(true);
+/// assert!(cargo_miri_test::make_true());
4
/// ```
5
pub fn make_true() -> bool {
6
true
0 commit comments