use into instead of append
@@ -162,7 +162,7 @@ where
// `settings_path` has to be at least as large as `miniconf::mqtt_client::MAX_TOPIC_LENGTH`.
let mut settings_path: String<128> = String::new();
match self.miniconf.handled_update(|path, old, new| {
- settings_path.push_str(path).unwrap();
+ settings_path = path.into();
*old = new.clone();
Result::<(), &'static str>::Ok(())
}) {
