mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 21:01:23 +00:00
Merge branch 'fix_clippy_lints_2' into deadpool_2
This commit is contained in:
commit
bee3fef926
1 changed files with 2 additions and 2 deletions
|
@ -170,10 +170,10 @@ where
|
||||||
Kind: ApubObject + Send + 'static,
|
Kind: ApubObject + Send + 'static,
|
||||||
for<'de2> <Kind as ApubObject>::ApubType: serde::Deserialize<'de2>,
|
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 {
|
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||||
// Use to_string here because Url.display is not useful for us
|
// 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 a new issue