From 072ac4bf96d739109b134c5b793125396c818f90 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Sat, 18 Sep 2021 04:16:27 +0000 Subject: [PATCH] client: fix minor typo ("exhuasted") (#155) --- client/src/nat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/nat.rs b/client/src/nat.rs index 25d0714..351c924 100644 --- a/client/src/nat.rs +++ b/client/src/nat.rs @@ -87,10 +87,10 @@ impl<'a> NatTraverse<'a> { } pub fn step(&mut self) -> Result<(), Error> { - let exhuasted = self.refresh_remaining()?; + let exhausted = self.refresh_remaining()?; // Reset peer endpoints that had no viable candidates back to the server-reported one, if it exists. - let reset_updates = exhuasted + let reset_updates = exhausted .into_iter() .filter_map(|peer| set_endpoint(&peer.public_key, peer.endpoint.as_ref()));