From 588b18429df00bcbdba9980055d0d47dca132680 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 19 Jul 2023 12:09:08 +0700 Subject: [PATCH] Fix minor typos. --- src/fit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fit.rs b/src/fit.rs index 30a6c573..3baa0f72 100644 --- a/src/fit.rs +++ b/src/fit.rs @@ -71,7 +71,7 @@ pub trait ParamCurveFit { /// to derive the moments needed for curve fitting. /// /// A default implementation is proved which does quadrature integration - /// with Green's theorem, in terms of samples evaulated with + /// with Green's theorem, in terms of samples evaluated with /// [`sample_pt_deriv`]. /// /// [`sample_pt_deriv`]: ParamCurveFit::sample_pt_deriv @@ -284,7 +284,7 @@ impl CurveDist { /// If distance exceeds stated accuracy, can return `None`. Note that /// `acc2` is the square of the target. /// - /// Returns the squre of the error, which is intended to be a good + /// Returns the square of the error, which is intended to be a good /// approximation of the Fréchet distance. fn eval_ray(&self, c: CubicBez, acc2: f64) -> Option { let mut max_err2 = 0.0;