about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/result.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs
index 7d651f7173b..c99de923d95 100644
--- a/library/core/src/result.rs
+++ b/library/core/src/result.rs
@@ -67,7 +67,7 @@
 //!
 //! // Consume the result and return the contents with `unwrap`.
 //! let final_awesome_result = good_result.unwrap();
-//! assert_eq!(final_awesome_result)
+//! assert!(final_awesome_result)
 //! ```
 //!
 //! # Results must be used