diff rust/hg-core/src/revlog/index.rs @ 52310:a876ab6c3fd5

rust: fix `cargo doc` warnings It makes sense to keep our doc build happy, even if it is lacking.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 04 Nov 2024 15:17:54 +0100
parents a3fa37bdb7ec
children
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/index.rs	Mon Nov 04 13:43:36 2024 +0100
+++ b/rust/hg-core/src/revlog/index.rs	Mon Nov 04 15:17:54 2024 +0100
@@ -309,7 +309,7 @@
 ///
 /// TODO the dubious part is insisting that errors must be RevlogError
 /// we would probably need to sprinkle some magic here, such as an associated
-/// type that would be Into<RevlogError> but even that would not be
+/// type that would be `Into<RevlogError>` but even that would not be
 /// satisfactory, as errors potentially have nothing to do with the revlog.
 pub trait SnapshotsCache {
     fn insert_for(