Skip to content

Commit 8671921

Browse files
committed
Fix assert
1 parent 222895b commit 8671921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/src/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
//!
6868
//! // Consume the result and return the contents with `unwrap`.
6969
//! let final_awesome_result = good_result.unwrap();
70-
//! assert_eq!(final_awesome_result)
70+
//! assert!(final_awesome_result)
7171
//! ```
7272
//!
7373
//! # Results must be used

0 commit comments

Comments
 (0)