Skip to content

Commit

Permalink
Rollup merge of rust-lang#44206 - MarkMcCaskey:master, r=steveklabnik
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mark-Simulacrum authored Sep 7, 2017
2 parents 44351ed + 570ae39 commit b8812a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libcore/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,15 +531,13 @@ macro_rules! unreachable {

/// A standardized placeholder for marking unfinished code.
///
/// It panics with the message `"not yet implemented"` when executed.
///
/// 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 macro always panics.
/// This will always [panic!](macro.panic.html)
///
/// # Examples
///
Expand Down

0 comments on commit b8812a2

Please sign in to comment.