aboutsummaryrefslogtreecommitdiffstats
path: root/src/message_properties.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/message_properties.rs')
-rw-r--r--src/message_properties.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message_properties.rs b/src/message_properties.rs
index 4802383..19ea960 100644
--- a/src/message_properties.rs
+++ b/src/message_properties.rs
@@ -64,7 +64,7 @@ where
(key, value)
};
- Some((k.to_str().unwrap().to_string(), v.to_str().unwrap().to_string()))
+ Some((k.to_string_lossy().to_string(), v.to_string_lossy().to_string()))
}
}