docs: fix typos

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
pull/24376/head
Dom 2022-03-14 11:36:49 +00:00 committed by GitHub
parent dc8a708fb7
commit f01382f578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {