Skip to content

Commit

Permalink
Exclude error declarations from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
exul committed May 7, 2017
1 parent 5d1da4a commit 3154c9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/matrix-rocketchat/errors.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// LCOV_EXCL_START
#![allow(missing_docs)]

use std::error::Error as StdError;
Expand Down Expand Up @@ -373,3 +374,4 @@ impl<'a> Modifier<Response> for &'a Error {
response.body = Some(Box::new(err_msg));
}
}
// LCOV_EXCL_STOP

0 comments on commit 3154c9e

Please sign in to comment.