diff rust/hg-cpython/src/ref_sharing.rs @ 52327:f90796d33aa0

rust: fix clippy lints These were highlighted by the latest version of clippy (1.82.0).
author Rapha?l Gom?s <rgomes@octobus.net>
date Tue, 29 Oct 2024 11:35:01 +0100
parents 6b7aef44274b
children 15011324a80b
line wrap: on
line diff
--- a/rust/hg-cpython/src/ref_sharing.rs	Tue Oct 29 11:00:04 2024 +0100
+++ b/rust/hg-cpython/src/ref_sharing.rs	Tue Oct 29 11:35:01 2024 +0100
@@ -31,10 +31,10 @@
 ///
 /// * `$name` is the identifier to give to the resulting Rust struct.
 /// * `$leaked` corresponds to `UnsafePyLeaked` in the matching `@shared data`
-/// declaration.
+///   declaration.
 /// * `$iterator_type` is the type of the Rust iterator.
 /// * `$success_func` is a function for processing the Rust `(key, value)`
-/// tuple on iteration success, turning it into something Python understands.
+///   tuple on iteration success, turning it into something Python understands.
 /// * `$success_func` is the return type of `$success_func`
 ///
 /// # Safety