aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 2da215c..32e85e8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -63,7 +63,7 @@ impl SubscriptionListener for MySubscriptionListener {
];
let mut output = String::new();
for field in fields {
- let value = update.get_value(field).unwrap_or(&not_available).clone();
+ let value = update.get_value(field).unwrap_or(&not_available);
let value_str = if update.changed_fields.contains_key(field) {
value.yellow().to_string()
} else {