Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix #440

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/file/src/file_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, FileReadError>` 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<Output = Result<String, FileReadError>> {
let (sender, receiver) = futures_channel::oneshot::channel();
let reader = super::callbacks::read_as_text(blob, |result| {
Expand All @@ -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<String, FileReadError>` 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<Output = Result<String, FileReadError>> {
let (sender, receiver) = futures_channel::oneshot::channel();
let reader = super::callbacks::read_as_data_url(blob, |result| {
Expand Down
Loading