From f91912af7f85115a8a11b4419d32df7bb2900f87 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Tue, 17 Feb 2015 14:28:38 -0500 Subject: [PATCH] Updated stabilization. --- src/client/conn.rs | 6 +++--- src/client/data/config.rs | 2 +- src/client/data/message.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/conn.rs b/src/client/conn.rs index 9f2f228..5ecfee6 100644 --- a/src/client/conn.rs +++ b/src/client/conn.rs @@ -66,7 +66,7 @@ impl Connection, BufferedWriter> { } /// Reconnects to the specified server, dropping the current connection. - #[unstable = "Feature is relatively new."] + #[stable] pub fn reconnect(&self, host: &str, port: u16) -> IoResult<()> { let use_ssl = match self.reader.lock().unwrap().get_ref() { &NetStream::UnsecuredTcpStream(_) => false, @@ -84,13 +84,13 @@ impl Connection, BufferedWriter> { } /// Sets the keepalive for the network stream. - #[unstable = "Feature is relatively new."] + #[unstable = "Rust IO has not stabilized."] pub fn set_keepalive(&self, delay_in_seconds: Option) -> IoResult<()> { self.mod_stream(|tcp| tcp.set_keepalive(delay_in_seconds)) } /// Sets the timeout for the network stream. - #[unstable = "Feature is relatively new."] + #[unstable = "Rust IO has not stabilized."] pub fn set_timeout(&self, timeout_ms: Option) { self.mod_stream(|tcp| Ok(tcp.set_timeout(timeout_ms))).unwrap(); // this cannot fail. } diff --git a/src/client/data/config.rs b/src/client/data/config.rs index c57ed3f..f0542a4 100644 --- a/src/client/data/config.rs +++ b/src/client/data/config.rs @@ -178,7 +178,7 @@ impl Config { /// Gets the string to be sent in response to CTCP USERINFO requests. /// This defaults to an empty string when not specified. - #[unstable = "Feature is still relatively new."] + #[stable] pub fn user_info(&self) -> &str { self.user_info.as_ref().map(|s| &s[]).unwrap_or("") } diff --git a/src/client/data/message.rs b/src/client/data/message.rs index 4cb9d67..2e06da9 100644 --- a/src/client/data/message.rs +++ b/src/client/data/message.rs @@ -1,5 +1,5 @@ //! Messages to and from the server. -#![unstable = "New features were added recently."] +#![stable] use std::borrow::ToOwned; use std::str::FromStr;