mirror of https://github.com/LemmyNet/lemmy.git
Revert object id display
parent
2b6d2e2585
commit
cd7e900980
|
@ -170,10 +170,10 @@ where
|
|||
Kind: ApubObject + Send + 'static,
|
||||
for<'de2> <Kind as ApubObject>::ApubType: serde::Deserialize<'de2>,
|
||||
{
|
||||
#[allow(clippy::to_string_in_display)]
|
||||
#[allow(clippy::to_string_in_format_args)]
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
// Use to_string here because Url.display is not useful for us
|
||||
write!(f, "{}", self.0)
|
||||
write!(f, "{}", self.0.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue