From 2c8c8ff477297cf37fc3c11b3fdb2fcf69f3a24a Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Sun, 17 Dec 2023 03:35:34 +0800 Subject: [PATCH] chore(core): remove redundant ref --- viz-core/src/handler/either.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viz-core/src/handler/either.rs b/viz-core/src/handler/either.rs index 5a3ad828..7acbee8f 100644 --- a/viz-core/src/handler/either.rs +++ b/viz-core/src/handler/either.rs @@ -19,7 +19,7 @@ where type Output = O; async fn call(&self, i: I) -> Self::Output { - match &self { + match self { Self::Left(l) => l.call(i), Self::Right(r) => r.call(i), }