diff options
Diffstat (limited to 'src/libcore/lib.rs')
| -rw-r--r-- | src/libcore/lib.rs | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 62a4fbd2e08..6370e55332e 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -40,8 +40,8 @@ //! //! * `rust_begin_unwind` - This function takes three arguments, a //! `&fmt::Arguments`, a `&str`, and a `uint`. These three arguments dictate -//! the failure message, the file at which failure was invoked, and the line. -//! It is up to consumers of this core library to define this failure +//! the panic message, the file at which panic was invoked, and the line. +//! It is up to consumers of this core library to define this panic //! function; it is only required to never return. // Since libcore defines many fundamental lang items, all tests live in a @@ -111,7 +111,7 @@ pub mod atomic; pub mod bool; pub mod cell; pub mod char; -pub mod failure; +pub mod panicking; pub mod finally; pub mod iter; pub mod option; @@ -129,7 +129,7 @@ pub mod fmt; #[doc(hidden)] mod core { - pub use failure; + pub use panicking; } #[doc(hidden)] | 
