File tree Expand file tree Collapse file tree
wasi-preview1-component-adapter/src
wasmtime/src/runtime/component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ impl ImportAlloc {
438438#[ derive( Clone ) ]
439439struct BumpAlloc {
440440 base : * mut u8 ,
441- len : usize ,
441+ len : usize , // remaining size available for allocation
442442}
443443
444444impl BumpAlloc {
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ impl<T: 'static> Linker<T> {
168168 imported_resources : Default :: default ( ) ,
169169 } ;
170170
171- // Walk over the component's list of import names and use that to lookup
171+ // Walk over the component's list of import names and use that to look up
172172 // the definition within this linker that it corresponds to. When found
173173 // perform a typecheck against the component's expected type.
174174 let env_component = component. env_component ( ) ;
You can’t perform that action at this time.
0 commit comments