]> git.lizzy.rs Git - rust.git/commitdiff
update unimplemented! docs
authorMarkMcCaskey <rabidwaffle@gmail.com>
Thu, 31 Aug 2017 02:26:54 +0000 (22:26 -0400)
committerMarkMcCaskey <rabidwaffle@gmail.com>
Thu, 31 Aug 2017 02:26:54 +0000 (22:26 -0400)
src/libcore/macros.rs

index 684b81a27f82e39291addc166bcbd503416d1a4b..375c1f10db2c3dbf05f0ae5b8cf7ed34bb2d7308 100644 (file)
@@ -516,13 +516,16 @@ macro_rules! unreachable {
     });
 }
 
-/// A standardized placeholder for marking unfinished code. It panics with the
-/// message `"not yet implemented"` when executed.
+/// A standardized placeholder for marking unfinished code.
 ///
 /// This can be useful if you are prototyping and are just looking to have your
 /// code typecheck, or if you're implementing a trait that requires multiple
 /// methods, and you're only planning on using one of them.
 ///
+/// # Panics
+///
+/// This will always [panic!](macro.panic.html)
+///
 /// # Examples
 ///
 /// Here's an example of some in-progress code. We have a trait `Foo`: