summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/hostname.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hostname.rs b/src/modules/hostname.rs
index 4fc9a714d..62927b8df 100644
--- a/src/modules/hostname.rs
+++ b/src/modules/hostname.rs
@@ -31,7 +31,7 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
};
module.set_style(module_style);
- module.new_segment("hostname", &format!("{}", host));
+ module.new_segment("hostname", &host);
module.get_prefix().set_value("on ");
Some(module)