summaryrefslogtreecommitdiffstats
path: root/src/configs/rust.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/rust.rs')
-rw-r--r--src/configs/rust.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/configs/rust.rs b/src/configs/rust.rs
index 2bd257588..911524ab5 100644
--- a/src/configs/rust.rs
+++ b/src/configs/rust.rs
@@ -14,14 +14,8 @@ pub struct RustConfig<'a> {
impl<'a> RootModuleConfig<'a> for RustConfig<'a> {
fn new() -> Self {
RustConfig {
- symbol: SegmentConfig {
- value: "🦀 ",
- style: None,
- },
- version: SegmentConfig {
- value: "",
- style: None,
- },
+ symbol: SegmentConfig::new("🦀 "),
+ version: SegmentConfig::default(),
style: Color::Red.bold(),
disabled: false,
}