commit b72f532881795266858a8521da4a4d4a2520222f
parent 9645ecb70fe25f3334a72824e9cc7d12130bbc56
Author: kernelkind <kernelkind@gmail.com>
Date: Tue, 16 Dec 2025 15:32:29 -0500
refactor(clippy): appease
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/crates/notedeck/src/media/network.rs b/crates/notedeck/src/media/network.rs
@@ -147,7 +147,7 @@ impl Error for HyperHttpError {
impl fmt::Display for HyperHttpError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
- Self::Hyper(e) => write!(f, "Hyper error: {}", e),
+ Self::Hyper(e) => write!(f, "Hyper error: {e}"),
Self::Host => write!(f, "Missing host in URL"),
Self::Uri => write!(f, "Invalid URI"),
Self::BodyTooLarge => write!(f, "Body too large"),
diff --git a/crates/notedeck_columns/src/profile.rs b/crates/notedeck_columns/src/profile.rs
@@ -42,6 +42,7 @@ pub enum ProfileAction {
}
impl ProfileAction {
+ #[allow(clippy::too_many_arguments)]
pub fn process_profile_action(
&self,
app: &mut Damus,