Skip to content

Commit 1679c6f

Browse files
committed
Relax trait bounds on Sliceable
1 parent 7f9367a commit 1679c6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/re.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! The required interface for an underlying regex engine
2-
use std::{fmt, io, ops::Range};
2+
use std::{io, ops::Range};
33

44
/// A [RegexEngine] is an underlying regular expression engine that can be used to match and
55
/// extract text as part of a structural regular expression.
@@ -55,7 +55,7 @@ where
5555
}
5656

5757
/// Something that supports extracting a contiguous sub-section between two bytes offsets.
58-
pub trait Sliceable: Writable + fmt::Debug + PartialEq + Eq + Copy {
58+
pub trait Sliceable: Writable + Copy {
5959
/// The output of the [slice][Sliceable::slice] method.
6060
type Slice<'h>: Writable
6161
where

0 commit comments

Comments
 (0)