Skip to content

Commit 0420654

Browse files
Rollup merge of rust-lang#44206 - MarkMcCaskey:master, r=steveklabnik
update unimplemented! docs For rust-lang#42628 (updating docs from changes from rust-lang#42155). Initial changes made to make `unimplemented!` doc comments look more like `unreachable!` and remove statement about the panic message. r? @steveklabnik
2 parents 98b1d8c + 570ae39 commit 0420654

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/macros.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -531,15 +531,13 @@ macro_rules! unreachable {
531531

532532
/// A standardized placeholder for marking unfinished code.
533533
///
534-
/// It panics with the message `"not yet implemented"` when executed.
535-
///
536534
/// This can be useful if you are prototyping and are just looking to have your
537535
/// code typecheck, or if you're implementing a trait that requires multiple
538536
/// methods, and you're only planning on using one of them.
539537
///
540538
/// # Panics
541539
///
542-
/// This macro always panics.
540+
/// This will always [panic!](macro.panic.html)
543541
///
544542
/// # Examples
545543
///

0 commit comments

Comments
 (0)