Skip to content

Commit 70c122c

Browse files
authored
Typo fix (#440)
typo: fore -> for
1 parent a823fab commit 70c122c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/file/src/file_reader.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub mod futures {
150150
/// Returns the contents of `blob` as a text string.
151151
///
152152
/// Equivalent to `async fn read_as_text(blob: &Blob) -> Result<String, FileReadError>` but
153-
/// without borrowing the `Blob` fore the lifetime of the future.
153+
/// without borrowing the `Blob` for the lifetime of the future.
154154
pub fn read_as_text(blob: &Blob) -> impl Future<Output = Result<String, FileReadError>> {
155155
let (sender, receiver) = futures_channel::oneshot::channel();
156156
let reader = super::callbacks::read_as_text(blob, |result| {
@@ -167,7 +167,7 @@ pub mod futures {
167167
/// Returns the contents of `blob` as a base64 encoded `data:` URL.
168168
///
169169
/// Equivalent to `async fn read_as_data_url(blob: &Blob) -> Result<String, FileReadError>` but
170-
/// without borrowing the `Blob` fore the lifetime of the future.
170+
/// without borrowing the `Blob` for the lifetime of the future.
171171
pub fn read_as_data_url(blob: &Blob) -> impl Future<Output = Result<String, FileReadError>> {
172172
let (sender, receiver) = futures_channel::oneshot::channel();
173173
let reader = super::callbacks::read_as_data_url(blob, |result| {

0 commit comments

Comments
 (0)