Skip to content

Commit

Permalink
Auto merge of rust-lang#43563 - tbu-:pr_from_str_radix_panic, r=alexc…
Browse files Browse the repository at this point in the history
…richton

Document the `from_str_radix` panic

CC rust-lang#42034
  • Loading branch information
bors committed Jul 30, 2017
2 parents aac223f + bbb5311 commit 15266f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ macro_rules! int_impl {
///
/// Leading and trailing whitespace represent an error.
///
/// # Panics
///
/// This function panics if `radix` is not in the range from 2 to 36.
///
/// # Examples
///
/// Basic usage:
Expand Down

0 comments on commit 15266f9

Please sign in to comment.