rust/rhg/src/ui.rs
changeset 48730 1aaf11e35aec
parent 48729 99b1dfc06571
child 48731 f591b377375f
--- a/rust/rhg/src/ui.rs	Thu Feb 10 11:58:04 2022 +0100
+++ b/rust/rhg/src/ui.rs	Thu Feb 10 12:12:56 2022 +0100
@@ -1,4 +1,5 @@
 use format_bytes::format_bytes;
+use hg::config::Config;
 use hg::utils::files::get_bytes_from_os_string;
 use std::borrow::Cow;
 use std::env;
@@ -21,7 +22,7 @@
 
 /// The commandline user interface
 impl Ui {
-    pub fn new() -> Self {
+    pub fn new(_config: &Config) -> Self {
         Ui {
             stdout: std::io::stdout(),
             stderr: std::io::stderr(),