From b199480025fb3da2efa00937ddc9f5eb369aa40d Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Sat, 29 Nov 2014 02:58:05 -0500 Subject: [PATCH] Updated reference in Wrapper for RFC 248. --- Cargo.toml | 2 +- src/server/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2b510c..5588fef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "irc" -version = "0.1.1" +version = "0.1.2" description = "A simple, thread-safe IRC client library." authors = ["Aaron Weiss "] license = "Unlicense" diff --git a/src/server/utils.rs b/src/server/utils.rs index ccb2324..c4acc97 100644 --- a/src/server/utils.rs +++ b/src/server/utils.rs @@ -11,7 +11,7 @@ use server::{Server, ServerIterator}; /// Functionality-providing wrapper for Server. #[experimental] pub struct Wrapper<'a, T> where T: IrcStream { - server: &'a Server<'a, T> + 'a + server: &'a (Server<'a, T> + 'a) } impl<'a, T> Server<'a, T> for Wrapper<'a, T> where T: IrcStream {