From f185df030530ae52fcb60b4cc958ca98da8cfaa1 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 4 Aug 2024 22:08:48 +0300 Subject: kittybox-indieauth: small code cleanups --- indieauth/src/scopes.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indieauth/src/scopes.rs') diff --git a/indieauth/src/scopes.rs b/indieauth/src/scopes.rs index c664c55..e1df371 100644 --- a/indieauth/src/scopes.rs +++ b/indieauth/src/scopes.rs @@ -120,6 +120,9 @@ impl AsRef<[Scope]> for Scopes { self.0.as_ref() } } + +// Explicit implementation of ToString because of specific requirements. +#[allow(clippy::to_string_trait_impl)] impl ToString for Scopes { fn to_string(&self) -> String { self.0.iter() -- cgit 1.4.1