Skip to content

Commit

Permalink
docs: document the main error type
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Sep 15, 2022
1 parent eb9108a commit 31d7d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/// Main error type
///
/// It doesn't provide any useful information yet.
///
/// It will probably be improved in the futur to make possible
/// user-friendly error messages.
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct Error;
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ mod amount;
mod date;
#[allow(missing_docs)]
mod directive;
#[allow(missing_docs)]
mod error;
#[allow(missing_docs)]
mod string;
Expand Down

0 comments on commit 31d7d1a

Please sign in to comment.