Skip to content

Commit c5ccbb9

Browse files
committed
Work on Comment parsing logic began + support for comment errors
1 parent f2e803f commit c5ccbb9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/comments.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ impl fmt::Display for CommentError {
149149
}
150150
}
151151

152+
impl std::error::Error for CommentError {}
153+
152154
/// Structure that holds the comment along with its location in the file
153155
pub struct CommentWithSpan {
154156
comment: Comment,

0 commit comments

Comments
 (0)