From fe0ac5bcebd06d664cd1835524932ca67e7270c2 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 24 Nov 2024 22:14:06 +0700 Subject: [PATCH] Fix `clippy::doc_markdown` lints --- src/core/directed_edge/mod.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/directed_edge/mod.rs b/src/core/directed_edge/mod.rs index b002621..731bbf3 100644 --- a/src/core/directed_edge/mod.rs +++ b/src/core/directed_edge/mod.rs @@ -530,7 +530,7 @@ impl DirectedEdgeMesh { /// Unfortunately, LLVM is not smart enough to correctly optimize that code. /// That's why this is hand-micro-optimized. The divisibility-check is /// well-known and described for example here: -/// http://clomont.com/efficient-divisibility-testing/ +/// #[inline(always)] fn is_divisible_by_3(idx: hsize) -> bool { // We have to do different things depending on the handle size. The diff --git a/src/lib.rs b/src/lib.rs index 1b95967..49817ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -288,7 +288,7 @@ pub(crate) mod sealed { /// /// Of course, we would like to avoid annoying bugs due to errors like "use /// after free". The crate `slotmap` has really great ideas regarding this. -/// `lox will try out some ideas to avoid some common mistakes in the future. +/// `lox` will try out some ideas to avoid some common mistakes in the future. /// /// # The size of `hsize` ///