mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-10 09:01:59 -07:00
edition: run 'cargo fix --edition --edition-idioms --all'
This commit is contained in:
@@ -129,7 +129,7 @@ impl Sink for KitchenSink {
|
||||
fn matched(
|
||||
&mut self,
|
||||
_searcher: &Searcher,
|
||||
mat: &SinkMatch,
|
||||
mat: &SinkMatch<'_>,
|
||||
) -> Result<bool, io::Error> {
|
||||
assert!(!mat.bytes().is_empty());
|
||||
assert!(mat.lines().count() >= 1);
|
||||
@@ -152,7 +152,7 @@ impl Sink for KitchenSink {
|
||||
fn context(
|
||||
&mut self,
|
||||
_searcher: &Searcher,
|
||||
context: &SinkContext,
|
||||
context: &SinkContext<'_>,
|
||||
) -> Result<bool, io::Error> {
|
||||
assert!(!context.bytes().is_empty());
|
||||
assert!(context.lines().count() == 1);
|
||||
|
Reference in New Issue
Block a user