From 536050ea397c5de713d3bc367b16d5714fe11e81 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 23 Oct 2023 13:46:52 +0200 Subject: [PATCH] Remove unnecessary `pub`s --- crates/fj-core/src/algorithms/approx/curve.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/curve.rs b/crates/fj-core/src/algorithms/approx/curve.rs index a18871c3c..f2b6a362e 100644 --- a/crates/fj-core/src/algorithms/approx/curve.rs +++ b/crates/fj-core/src/algorithms/approx/curve.rs @@ -140,8 +140,7 @@ pub struct CurveApproxCache { } impl CurveApproxCache { - /// Get an approximated curve from the cache - pub fn get( + fn get( &self, handle: &Handle, boundary: CurveBoundary>, @@ -158,8 +157,7 @@ impl CurveApproxCache { None } - /// Insert an approximated curve into the cache - pub fn insert( + fn insert( &mut self, handle: Handle, boundary: CurveBoundary>,