From 1443d97c976a4dad10b63ec7b628b38d6f8fd85d Mon Sep 17 00:00:00 2001 From: Preston Vasquez <24281431+prestonvasquez@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:00:20 -0600 Subject: [PATCH] Use double-l cancelation --- x/mongo/driver/topology/rtt_monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/mongo/driver/topology/rtt_monitor.go b/x/mongo/driver/topology/rtt_monitor.go index eacc6bf6d3..0934beed89 100644 --- a/x/mongo/driver/topology/rtt_monitor.go +++ b/x/mongo/driver/topology/rtt_monitor.go @@ -42,7 +42,7 @@ type rttMonitor struct { mu sync.RWMutex // mu guards samples, offset, minRTT, averageRTT, and averageRTTSet // connMu guards connecting and disconnecting. This is necessary since - // disconnecting will await the cancelation of a started connection. The + // disconnecting will await the cancellation of a started connection. The // use case for rttMonitor.connect needs to be goroutine safe. connMu sync.Mutex samples []time.Duration