File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ impl http_body::Body for GuestBody {
341
341
match res {
342
342
Ok ( buf) => {
343
343
if let Some ( n) = self . content_length . as_mut ( ) {
344
- // Substract frame length from `content_length`,
344
+ // Subtract frame length from `content_length`,
345
345
// [LimitedGuestBodyConsumer] already performs the validation, so
346
346
// just keep count as optimization for
347
347
// `is_end_stream` and `size_hint`
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ impl TcpSocket {
332
332
}
333
333
}
334
334
335
- /// For WASIp2 this retreives the result from the future passed to
335
+ /// For WASIp2 this retrieves the result from the future passed to
336
336
/// `set_pending_connect`.
337
337
///
338
338
/// Return states here are:
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub trait WasiView: Send {
39
39
fn ctx ( & mut self ) -> WasiCtxView < ' _ > ;
40
40
}
41
41
42
- /// Structure returned from [`WasiView::ctx`] which provides accesss to WASI
42
+ /// Structure returned from [`WasiView::ctx`] which provides access to WASI
43
43
/// state for host functions to be implemented with.
44
44
pub struct WasiCtxView < ' a > {
45
45
/// The [`WasiCtx`], or configuration, of the guest.
You can’t perform that action at this time.
0 commit comments