Added note in documentation about Wrappers not being thread-safe

currently.
This commit is contained in:
Aaron Weiss 2014-11-29 03:02:11 -05:00
parent b199480025
commit 74528c9d4c

View file

@ -9,6 +9,7 @@ use data::kinds::IrcStream;
use server::{Server, ServerIterator};
/// Functionality-providing wrapper for Server.
/// Wrappers are currently not thread-safe, and should be created per-thread, as needed.
#[experimental]
pub struct Wrapper<'a, T> where T: IrcStream {
server: &'a (Server<'a, T> + 'a)