From 7c85002902a5c525e2eea5e1574766e9649afe30 Mon Sep 17 00:00:00 2001 From: Jeong Yunwon Date: Sun, 17 Apr 2022 23:17:30 +0900 Subject: [PATCH] x --- vm/src/builtins/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/src/builtins/function.rs b/vm/src/builtins/function.rs index b884fa9b5..08697c565 100644 --- a/vm/src/builtins/function.rs +++ b/vm/src/builtins/function.rs @@ -507,7 +507,7 @@ impl PyBoundMethod { impl PyBoundMethod { #[pymethod(magic)] fn repr(&self, vm: &VirtualMachine) -> PyResult { - #[allow(clippy::needless_match)] // False positive on nightly + #[allow(clippy::needless_match)] // False positive on nightly let funcname = if let Some(qname) = vm.get_attribute_opt(self.function.clone(), "__qualname__")? { Some(qname)