From ed133e1ea9fca451ed8b06ea2c7d067990975bf6 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 9 Aug 2024 19:31:08 +0700 Subject: Fix more typos. (#712) These are ones not found by `typos` for various reasons. --- src/data/coarena.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/data/coarena.rs') diff --git a/src/data/coarena.rs b/src/data/coarena.rs index 18fb055..b9e7f44 100644 --- a/src/data/coarena.rs +++ b/src/data/coarena.rs @@ -78,7 +78,7 @@ impl Coarena { self.data[i1 as usize] = (g1, value); } - /// Ensure that the given element exists in thihs coarena, and return its mutable reference. + /// Ensure that the given element exists in this coarena, and return its mutable reference. pub fn ensure_element_exist(&mut self, a: Index, default: T) -> &mut T where T: Clone, @@ -99,7 +99,7 @@ impl Coarena { &mut data.1 } - /// Ensure that elements at the two given indices exist in this coarena, and return their reference. + /// Ensure that elements at the two given indices exist in this coarena, and return their references. /// /// Missing elements are created automatically and initialized with the `default` value. pub fn ensure_pair_exists(&mut self, a: Index, b: Index, default: T) -> (&mut T, &mut T) -- cgit