| commit c2adc6746ea436500c459c6ad3d1f326e786bd04 parent a52b8272deec46fbe4dc86e1a388c6d67b999013 Author: debuman <110329244+debuman@users.noreply.github.com> Date: Thu, 12 Nov 2026 12:58:14 +0900 Remove needless borrow in page navigation Diffstat:
|
| 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/src/site.rs b/src/site.rs @@ -203,7 +203,7 @@ impl<'a> Site<'a> { weight: p.front.weight, } }; - let prev = at.checked_sub(1).map(&make); + let prev = at.checked_sub(1).map(make); let next = (at + 1 < section.pages.len()).then(|| make(at + 1)); (prev, next) } |