From 3b4ccd52a5d39ab80833274d21bacdbc3dcdae1e Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 23 Mar 2022 23:20:29 -0400 Subject: [PATCH] fix comments --- src/misc.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/misc.rs b/src/misc.rs index ed9f7f0..e1b8912 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -22,17 +22,17 @@ where /// index was calculated with `.iter().position(....` which was horribly /// inefficient pub struct SteppedVector { - // Actual data being referenced. HAS to be sorted from minimum to maximum + /// Actual data being referenced. HAS to be sorted from minimum to maximum data: Vec, - // Minimum value + /// Minimum value min: f64, - // Maximum value + /// Maximum value max: f64, - // Since all entries in `data` are evenly spaced, this field stores the step between 2 adjacent - // elements + /// Since all entries in `data` are evenly spaced, this field stores the + /// step between 2 adjacent elements step: f64, }