diff --git a/src/lib.rs b/src/lib.rs index d8c8879..0475f06 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,14 +15,15 @@ * along with irc-stream. If not, see . */ +//! This crate provides the `IrcRead` and `IrcWrite` traits and +//! the IrcStream struct that implements them. + pub mod error; pub use self::error::*; use std::io::{Read, Write}; use irc_proto::message::Message; -//! This crate provides the `IrcRead` and `IrcWrite` traits and -//! the IrcStream struct that implements them. /// A trait that mirrors std::io::Read; /// It requires the `read()` method that returns an IRC Message. /// The function may or may not block.