diff options
author | Canop <cano.petrole@gmail.com> | 2020-01-20 22:11:38 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-01-20 22:11:38 +0100 |
commit | ec5220711e02c63a4832f984ae788958b3133d18 (patch) | |
tree | 822dacfb3a6c34809291bbd37cac5c958691dc31 /src/matched_string.rs | |
parent | 7ccda47e5044ec2b56b1b6deb4ecdd82eacae9ff (diff) |
minor code fmt changes
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, |