summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorMichael Sproul <micsproul@gmail.com>2015-01-17 12:20:11 -0800
committerMichael Sproul <micsproul@gmail.com>2015-01-17 12:20:11 -0800
commit97a2b2638d36fbd9f69c80bd146cdbe9d87e7bcc (patch)
treed8313c98a21bb62717c7cc194a56ce56c7409198 /src/libstd/error.rs
parent89c4e3792ddc5b45706ea0e919806a248f7a87c3 (diff)
downloadrust-97a2b2638d36fbd9f69c80bd146cdbe9d87e7bcc.tar.gz
rust-97a2b2638d36fbd9f69c80bd146cdbe9d87e7bcc.zip
Remove Send bound from Error trait.
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index 9963e4861b7..ff128461978 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -18,7 +18,7 @@
 //! chain information:
 //!
 //! ```
-//! trait Error: Send {
+//! trait Error {
 //!     fn description(&self) -> &str;
 //!
 //!     fn detail(&self) -> Option<String> { None }
@@ -87,7 +87,7 @@ use string::{FromUtf8Error, FromUtf16Error};
 
 /// Base functionality for all errors in Rust.
 #[unstable = "the exact API of this trait may change"]
-pub trait Error: Send {
+pub trait Error {
     /// A short description of the error; usually a static string.
     fn description(&self) -> &str;