File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ impl<'a> Position<'a> {
24
24
///
25
25
/// This function panics if an enter event is given.
26
26
/// When `markdown-rs` is used, this function never panics.
27
+ #[ cfg_attr( tarpaulin, ignore) ]
27
28
pub fn from_exit_event ( events : & ' a [ Event ] , index : usize ) -> Position < ' a > {
28
29
let exit = & events[ index] ;
29
30
debug_assert_eq ! ( exit. kind, Kind :: Exit , "expected `exit` event" ) ;
@@ -117,6 +118,7 @@ impl<'a> Slice<'a> {
117
118
/// Turn the slice into a `String`.
118
119
///
119
120
/// Supports virtual spaces.
121
+ #[ cfg_attr( tarpaulin, ignore) ]
120
122
pub fn serialize ( & self ) -> String {
121
123
debug_assert_eq ! ( self . after, 0 , "expected no trailing vs" ) ;
122
124
// If the above ever starts erroring, handle the same as `self.before`
You can’t perform that action at this time.
0 commit comments