diff rust/hg-cpython/src/pybytes_deref.rs @ 50006:be3b545c5cff

rust-clippy: fix remaining warnings in `hg-cpython`
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 09 Jan 2023 19:37:05 +0100
parents 4afd6cc447b9
children
line wrap: on
line diff
--- a/rust/hg-cpython/src/pybytes_deref.rs	Mon Jan 09 19:36:41 2023 +0100
+++ b/rust/hg-cpython/src/pybytes_deref.rs	Mon Jan 09 19:37:05 2023 +0100
@@ -47,6 +47,7 @@
 
 #[allow(unused)]
 fn static_assert_pybytes_is_send() {
+    #[allow(clippy::no_effect)]
     require_send::<PyBytes>;
 }