about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustuv/access.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustuv/access.rs b/src/librustuv/access.rs
index 664c9425007..b7475c8c077 100644
--- a/src/librustuv/access.rs
+++ b/src/librustuv/access.rs
@@ -136,7 +136,7 @@ impl<'a, T: Send> DerefMut<T> for Guard<'a, T> {
 }
 
 #[unsafe_destructor]
-impl<'a, T> Drop for Guard<'a, T> {
+impl<'a, T:Send> Drop for Guard<'a, T> {
     fn drop(&mut self) {
         // This guard's homing missile is still armed, so we're guaranteed to be
         // on the same I/O event loop, so this unsafety should be ok.