(
&'a self,
_content: &'a str,
find: &'a str,
)
| 64 | } |
| 65 | |
| 66 | fn find<'a>( |
| 67 | &'a self, |
| 68 | _content: &'a str, |
| 69 | find: &'a str, |
| 70 | ) -> Box<dyn Iterator<Item = String> + 'a> { |
| 71 | Box::new(std::iter::once(find.to_string())) |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | pub struct LineTrimmedReplacer; |