From 63734e68ce90b5d0b67e698ecfeee1f1a4862ffc Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Mon, 13 May 2024 13:31:32 +0100 Subject: [PATCH] Fix clippy lints --- src/compute/common/alignment.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compute/common/alignment.rs b/src/compute/common/alignment.rs index 44c636187..f2c7170a2 100644 --- a/src/compute/common/alignment.rs +++ b/src/compute/common/alignment.rs @@ -1,10 +1,10 @@ //! Generic CSS alignment code that is shared between both the Flexbox and CSS Grid algorithms. use crate::style::AlignContent; -// Implement fallback alignment. -// -// In addition to the spec at https://www.w3.org/TR/css-align-3/ this implementation follows -// the resolution of https://github.com/w3c/csswg-drafts/issues/10154 +/// Implement fallback alignment. +/// +/// In addition to the spec at https://www.w3.org/TR/css-align-3/ this implementation follows +/// the resolution of https://github.com/w3c/csswg-drafts/issues/10154 pub(crate) fn apply_alignment_fallback( free_space: f32, num_items: usize,