style: minor changes

This commit is contained in:
2025-03-15 16:37:16 -04:00
parent ce98afb11d
commit 638dc75cb7
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ impl UserData for Client {
Ok(this.0.rooms().into_iter().map(Room).collect::<Vec<_>>())
});
f.add_field_method_get("user_id", |_, this| {
Ok(this.0.user_id().map(std::string::ToString::to_string))
Ok(this.0.user_id().map(ToString::to_string))
});
}