Trying to fix clippy again

This commit is contained in:
Dessalines 2021-11-09 12:36:47 -05:00
parent cd7e900980
commit 9c8e967aff

View file

@ -170,7 +170,7 @@ where
Kind: ApubObject + Send + 'static,
for<'de2> <Kind as ApubObject>::ApubType: serde::Deserialize<'de2>,
{
#[allow(clippy::to_string_in_format_args)]
#[allow(clippy::to_string_in_display)]
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.to_string())