summaryrefslogtreecommitdiffstats
path: root/src/path_printer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/path_printer.rs')
-rw-r--r--src/path_printer.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/path_printer.rs b/src/path_printer.rs
index 324a27c4..59cadbc8 100644
--- a/src/path_printer.rs
+++ b/src/path_printer.rs
@@ -37,10 +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: wtr }
}
/// Set the color specification for this printer.