Format
This commit is contained in:
parent
0c2eaf0f1b
commit
c9bb31b8f5
@ -21,7 +21,8 @@ use rocket::{
|
|||||||
};
|
};
|
||||||
use std::{
|
use std::{
|
||||||
convert::{TryFrom, TryInto},
|
convert::{TryFrom, TryInto},
|
||||||
str::FromStr, fmt,
|
fmt,
|
||||||
|
str::FromStr,
|
||||||
};
|
};
|
||||||
use tokio::{
|
use tokio::{
|
||||||
runtime,
|
runtime,
|
||||||
@ -285,7 +286,7 @@ impl PreferredUsername {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl fmt::Display for PreferredUsername {
|
impl fmt::Display for PreferredUsername {
|
||||||
fn fmt(&self, f:&mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
self.0.fmt(f)
|
self.0.fmt(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user