Compare commits
3 Commits
8792dc7cbf
...
431accb20e
Author | SHA1 | Date | |
---|---|---|---|
431accb20e | |||
58db070cc0 | |||
f50ea78e3f |
@ -48,7 +48,7 @@ pub struct User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl std::fmt::Debug for User {
|
impl std::fmt::Debug for User {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
f.debug_struct("User")
|
f.debug_struct("User")
|
||||||
.field("id", &self.id)
|
.field("id", &self.id)
|
||||||
.field("name", &self.name)
|
.field("name", &self.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user