Skip to content

Commit a2b9562

Browse files
committed
add Send bound on impl because stricter trait checking requires it
1 parent 5ba0196 commit a2b9562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustuv/access.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl<'a, T: Send> DerefMut<T> for Guard<'a, T> {
136136
}
137137

138138
#[unsafe_destructor]
139-
impl<'a, T> Drop for Guard<'a, T> {
139+
impl<'a, T:Send> Drop for Guard<'a, T> {
140140
fn drop(&mut self) {
141141
// This guard's homing missile is still armed, so we're guaranteed to be
142142
// on the same I/O event loop, so this unsafety should be ok.

0 commit comments

Comments
 (0)