Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 27c6833

Browse files
committed
Fix test 2
1 parent 3fab94a commit 27c6833

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/lib.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,11 @@
241241
//! }
242242
//!
243243
//! fn bar() -> Result<()> {
244-
//! bail!("bogus!");
245-
//!
246-
//! Ok(())
244+
//! if true {
245+
//! bail!("bogus!");
246+
//! } else {
247+
//! Ok(())
248+
//! }
247249
//! }
248250
//! ```
249251
//!

0 commit comments

Comments
 (0)