Skip to content

Commit 1d69c98

Browse files
committed
update unimplemented! docs
1 parent 51a54b6 commit 1d69c98

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/libcore/macros.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,13 +516,16 @@ macro_rules! unreachable {
516516
});
517517
}
518518

519-
/// A standardized placeholder for marking unfinished code. It panics with the
520-
/// message `"not yet implemented"` when executed.
519+
/// A standardized placeholder for marking unfinished code.
521520
///
522521
/// This can be useful if you are prototyping and are just looking to have your
523522
/// code typecheck, or if you're implementing a trait that requires multiple
524523
/// methods, and you're only planning on using one of them.
525524
///
525+
/// # Panics
526+
///
527+
/// This will always [panic!](macro.panic.html)
528+
///
526529
/// # Examples
527530
///
528531
/// Here's an example of some in-progress code. We have a trait `Foo`:

0 commit comments

Comments
 (0)