From 9d898deaedb237b37fdfc74691958d5e24828aa6 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Wed, 27 Apr 2022 21:29:42 -0400 Subject: [PATCH] Fix Clippy warning --- vm/src/exceptions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/src/exceptions.rs b/vm/src/exceptions.rs index 226c0d942..99122adf0 100644 --- a/vm/src/exceptions.rs +++ b/vm/src/exceptions.rs @@ -528,7 +528,7 @@ impl PyBaseException { ) -> (PyTypeRef, PyTupleRef, Option) { ( zelf.class().clone(), - zelf.args().clone(), + zelf.args(), zelf.as_object().dict(), ) }