diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-22 08:51:44 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-24 14:22:35 -0700 |
| commit | d425218395b4a4dd7c6e4f3d680447efd2a3abc6 (patch) | |
| tree | 2fe3e4bd7ea85a77fa5213e2e1d7377df5fc1183 /src/libstd/rt/uv/uvio.rs | |
| parent | b5a02e07845b9fb4bc9b09909bd996c874fa3eed (diff) | |
| download | rust-d425218395b4a4dd7c6e4f3d680447efd2a3abc6.tar.gz rust-d425218395b4a4dd7c6e4f3d680447efd2a3abc6.zip | |
Bring io::signal up to date with changes to rt::rtio
Diffstat (limited to 'src/libstd/rt/uv/uvio.rs')
| -rw-r--r-- | src/libstd/rt/uv/uvio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs index 48f4dbe43d6..473eec32c67 100644 --- a/src/libstd/rt/uv/uvio.rs +++ b/src/libstd/rt/uv/uvio.rs @@ -865,12 +865,12 @@ impl IoFactory for UvIoFactory { } fn signal(&mut self, signum: Signum, channel: SharedChan<Signum>) - -> Result<~RtioSignalObject, IoError> { + -> Result<~RtioSignal, IoError> { let watcher = SignalWatcher::new(self.uv_loop()); let home = get_handle_to_current_scheduler!(); let mut signal = ~UvSignal::new(watcher, home); match signal.watcher.start(signum, |_, _| channel.send_deferred(signum)) { - Ok(()) => Ok(signal), + Ok(()) => Ok(signal as ~RtioSignal), Err(e) => Err(uv_error_to_io_error(e)), } } |
