about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-02-25 23:12:22 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-02-27 12:52:43 +1100
commit060661d2b4a323c83a1bf043234eae8a344ff6aa (patch)
tree043176504d4c42aecb765d4feb7b08c177773a92 /src/libstd/sync
parenteafdc7135b79d2e51da740b67946512d949632a1 (diff)
downloadrust-060661d2b4a323c83a1bf043234eae8a344ff6aa.tar.gz
rust-060661d2b4a323c83a1bf043234eae8a344ff6aa.zip
Add some missing stability attributes on struct fields.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mpsc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs
index 7bd1f3542eb..1310d476f8e 100644
--- a/src/libstd/sync/mpsc/mod.rs
+++ b/src/libstd/sync/mpsc/mod.rs
@@ -384,7 +384,7 @@ impl<T> !Sync for SyncSender<T> {}
 /// contains the data being sent as a payload so it can be recovered.
 #[stable(feature = "rust1", since = "1.0.0")]
 #[derive(PartialEq, Eq, Clone, Copy)]
-pub struct SendError<T>(pub T);
+pub struct SendError<T>(#[stable(feature = "rust1", since = "1.0.0")] pub T);
 
 /// An error returned from the `recv` function on a `Receiver`.
 ///