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 committed Sep 6, 2017
2 parents 98b1d8c + 570ae39 commit 0420654
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 0420654

Please sign in to comment.