From f71c38b38d18c7d2ded22667ebff5cfdf591aeea Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 21 Aug 2021 15:28:26 +0200 Subject: Turn backlog into iterator --- src/geom/spec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/geom') diff --git a/src/geom/spec.rs b/src/geom/spec.rs index ead67f11..6d669d19 100644 --- a/src/geom/spec.rs +++ b/src/geom/spec.rs @@ -45,8 +45,8 @@ impl Spec { } } - /// Compare to whether two instances are equal when compared field-by-field - /// with `f`. + /// Compares if this instance's field are equal to that of another with + /// respect to `eq`. pub fn eq_by(&self, other: &Spec, eq: F) -> bool where F: Fn(&T, &U) -> bool, -- cgit v1.2.3