From 5a1b1f6f80a4b9263da6496d10a64bf6b4b84774 Mon Sep 17 00:00:00 2001 From: Kirill Zaborsky Date: Fri, 9 Feb 2024 12:12:05 +0300 Subject: [PATCH] Typo fix typo: fore -> for --- crates/file/src/file_reader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/file/src/file_reader.rs b/crates/file/src/file_reader.rs index e322a207..6cd37f48 100644 --- a/crates/file/src/file_reader.rs +++ b/crates/file/src/file_reader.rs @@ -150,7 +150,7 @@ pub mod futures { /// Returns the contents of `blob` as a text string. /// /// Equivalent to `async fn read_as_text(blob: &Blob) -> Result` but - /// without borrowing the `Blob` fore the lifetime of the future. + /// without borrowing the `Blob` for the lifetime of the future. pub fn read_as_text(blob: &Blob) -> impl Future> { let (sender, receiver) = futures_channel::oneshot::channel(); let reader = super::callbacks::read_as_text(blob, |result| { @@ -167,7 +167,7 @@ pub mod futures { /// Returns the contents of `blob` as a base64 encoded `data:` URL. /// /// Equivalent to `async fn read_as_data_url(blob: &Blob) -> Result` but - /// without borrowing the `Blob` fore the lifetime of the future. + /// without borrowing the `Blob` for the lifetime of the future. pub fn read_as_data_url(blob: &Blob) -> impl Future> { let (sender, receiver) = futures_channel::oneshot::channel(); let reader = super::callbacks::read_as_data_url(blob, |result| {