From 3f9640ec9c769fea009d88e282abe6e23f219a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 28 Feb 2025 13:19:56 +0100 Subject: [PATCH] docs: add num_tyre_stint doc links to tyre-related vectors --- src/packets/final_classification.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/packets/final_classification.rs b/src/packets/final_classification.rs index c48d125..e4277d5 100644 --- a/src/packets/final_classification.rs +++ b/src/packets/final_classification.rs @@ -41,15 +41,18 @@ pub struct FinalClassificationData { )] pub num_tyre_stints: usize, /// Actual tyres used by the driver. - /// Should have a size equal to `num_tyre_stints`. + /// Should have a size equal to + /// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints). #[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))] pub tyre_stints_actual: Vec, /// Visual tyres used by the driver. - /// Should have a size equal to `num_tyre_stints`. + /// Should have a size equal to + /// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints). #[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))] pub tyre_stints_visual: Vec, /// The lap numbers the stints end on. - /// Should have a size equal to `num_tyre_stints`. + /// Should have a size equal to + /// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints). #[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))] pub tyre_stints_end_laps: Vec, }