Update 'src/error.rs'
Doc comments are hard…
This commit is contained in:
parent
cbadc86144
commit
ff40d7ea25
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,9 @@
|
||||||
* along with irc-stream. If not, see <https://www.gnu.org/licenses/>.
|
* along with irc-stream. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//! Implements IrcStreamError, an error type
|
||||||
|
//! that wraps all possible error that are thrown by IrcStream.
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
error::Error,
|
error::Error,
|
||||||
fmt,
|
fmt,
|
||||||
|
@ -22,8 +25,6 @@ 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.
|
/// A custom error type that wraps all error that IrcStream will throw.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum IrcStreamError {
|
pub enum IrcStreamError {
|
||||||
|
|
Loading…
Reference in a new issue