Fix "have been the once" in bucket_entry.rs

This fixes a wordo (once for one) in bucket_entry.rs.
This commit is contained in:
Haley Weslin 2023-09-29 00:59:36 +00:00
parent bd4b4233bf
commit 6883607ff8

View File

@ -298,7 +298,7 @@ impl BucketEntryInner {
// If we're updating an entry's node info, purge all
// but the last connection in our last connections list
// because the dial info could have changed and it's safer to just reconnect.
// The latest connection would have been the once we got the new node info
// The latest connection would have been the one we got the new node info
// over so that connection is still valid.
if node_info_changed {
self.clear_last_connections_except_latest();