thelie-patch-1 #1

Merged
Thelie merged 2 commits from thelie-patch-1 into master 2021-05-05 20:56:34 +02:00
Showing only changes of commit cbadc86144 - Show all commits

View file

@ -15,14 +15,15 @@
* along with irc-stream. If not, see <https://www.gnu.org/licenses/>. * along with irc-stream. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! This crate provides the `IrcRead` and `IrcWrite` traits and
//! the IrcStream struct that implements them.
pub mod error; pub mod error;
pub use self::error::*; pub use self::error::*;
use std::io::{Read, Write}; use std::io::{Read, Write};
use irc_proto::message::Message; 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; /// A trait that mirrors std::io::Read;
/// It requires the `read()` method that returns an IRC Message. /// It requires the `read()` method that returns an IRC Message.
/// The function may or may not block. /// The function may or may not block.