This commit is contained in:
Kitaiti Makoto 2023-01-14 03:18:17 +09:00
parent 0c2eaf0f1b
commit c9bb31b8f5

View File

@ -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)
} }
} }