diff options
Diffstat (limited to 'src/matched_string.rs')
-rw-r--r-- | src/matched_string.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/matched_string.rs b/src/matched_string.rs index 2b993af..00c44a3 100644 --- a/src/matched_string.rs +++ b/src/matched_string.rs @@ -1,11 +1,12 @@ - -use termimad::CompoundStyle; - -use crate::{ - patterns::Pattern, +use { + termimad::CompoundStyle, + crate::{ + patterns::Pattern, + }, }; + pub struct MatchedString<'a> { pub pattern: &'a Pattern, pub string: &'a str, |