From bea7020258d6c668516180c854bc2dc4e90f4d96 Mon Sep 17 00:00:00 2001 From: Farid <70100129+Jujumba@users.noreply.github.com> Date: Fri, 31 May 2024 08:50:08 +0200 Subject: [PATCH] clippy: Fix warnings in `components/layout_2020/flow/text_run.rs` (#32393) * clippy: Fix warnings in `components/layout_2020/flow/text_run.rs` Signed-off-by: Jujumba * clippy: Fix warnings in `components/layout_2020/flow/text_run.rs` Signed-off-by: Jujumba --------- Signed-off-by: Jujumba --- components/layout_2020/flow/text_run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout_2020/flow/text_run.rs b/components/layout_2020/flow/text_run.rs index adcd27b3bb2..215ec89f6b3 100644 --- a/components/layout_2020/flow/text_run.rs +++ b/components/layout_2020/flow/text_run.rs @@ -838,7 +838,7 @@ where }; self.next_character = self.iterator.next(); - return Some((character, self.next_character.clone())); + Some((character, self.next_character)) } }