Update 'src/error.rs'
Added doc comments.
This commit is contained in:
parent
bf53e62f17
commit
b23709917e
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ use std::{
|
||||||
str,
|
str,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! Implements IrcStreamError, an error type
|
||||||
|
//! that wraps all possible error that are thrown by IrcStream.
|
||||||
|
|
||||||
|
/// A custom error type that wraps all error that IrcStream will throw.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum IrcStreamError {
|
pub enum IrcStreamError {
|
||||||
Io(io::Error),
|
Io(io::Error),
|
||||||
|
|
Loading…
Reference in a new issue