From f01382f578703c3203936e13014e1827607ca826 Mon Sep 17 00:00:00 2001 From: Dom Date: Mon, 14 Mar 2022 11:36:49 +0000 Subject: [PATCH] docs: fix typos Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com> --- object_store/src/instrumentation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/object_store/src/instrumentation.rs b/object_store/src/instrumentation.rs index 13c0217980..972f79e7c3 100644 --- a/object_store/src/instrumentation.rs +++ b/object_store/src/instrumentation.rs @@ -1,4 +1,4 @@ -//! An metric instrumentation wrapper over [`ObjectStoreApi`] implementations. +//! A metric instrumentation wrapper over [`ObjectStoreApi`] implementations. use std::{ pin::Pin, @@ -185,7 +185,7 @@ where match res { Ok(GetResult::File(file, path)) => { - // Record a the file size in bytes and time the inner call took. + // Record the file size in bytes and time the inner call took. if let Ok(m) = file.metadata().await { self.get_bytes.inc(m.len()); if let Some(d) = self.time_provider.now().checked_duration_since(started_at) {