Commit 70c122c 1 parent a823fab commit 70c122c Copy full SHA for 70c122c
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ pub mod futures {
150
150
/// Returns the contents of `blob` as a text string.
151
151
///
152
152
/// 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.
154
154
pub fn read_as_text ( blob : & Blob ) -> impl Future < Output = Result < String , FileReadError > > {
155
155
let ( sender, receiver) = futures_channel:: oneshot:: channel ( ) ;
156
156
let reader = super :: callbacks:: read_as_text ( blob, |result| {
@@ -167,7 +167,7 @@ pub mod futures {
167
167
/// Returns the contents of `blob` as a base64 encoded `data:` URL.
168
168
///
169
169
/// 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.
171
171
pub fn read_as_data_url ( blob : & Blob ) -> impl Future < Output = Result < String , FileReadError > > {
172
172
let ( sender, receiver) = futures_channel:: oneshot:: channel ( ) ;
173
173
let reader = super :: callbacks:: read_as_data_url ( blob, |result| {
You can’t perform that action at this time.
0 commit comments