1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-14 22:15:13 +02:00

style: fix rust-analyzer lints in core

This commit is contained in:
Andrew Gallant
2020-03-15 09:04:39 -04:00
parent 7340d8dbbe
commit 1856cda77b
5 changed files with 15 additions and 20 deletions

View File

@ -37,7 +37,7 @@ impl PathPrinterBuilder {
/// Create a new path printer with the current configuration that writes
/// paths to the given writer.
pub fn build<W: WriteColor>(&self, wtr: W) -> PathPrinter<W> {
PathPrinter { config: self.config.clone(), wtr: wtr }
PathPrinter { config: self.config.clone(), wtr }
}
/// Set the color specification for this printer.