@@ -436,7 +436,7 @@ pub mod component_utils {
436436 ..
437437 } => ( ) ,
438438 wasmparser:: Payload :: Version { .. } => {
439- return Err ( Error :: UnexpectedNonComponentSection ) ;
439+ return Err ( Error :: UnexpectedNonComponentSection )
440440 }
441441 wasmparser:: Payload :: TypeSection ( _)
442442 | wasmparser:: Payload :: ImportSection ( _)
@@ -452,7 +452,7 @@ pub mod component_utils {
452452 | wasmparser:: Payload :: DataSection ( _)
453453 | wasmparser:: Payload :: CodeSectionStart { .. }
454454 | wasmparser:: Payload :: CodeSectionEntry ( _) => {
455- return Err ( Error :: UnexpectedNonComponentSection ) ;
455+ return Err ( Error :: UnexpectedNonComponentSection )
456456 }
457457 wasmparser:: Payload :: ComponentTypeSection ( section) => {
458458 let mut types = crate :: ComponentTypeSection :: new ( ) ;
@@ -1027,11 +1027,11 @@ pub mod component_utils {
10271027 wasmparser:: CanonicalFunction :: StreamCancelWrite { ty, async_ } => {
10281028 section. stream_cancel_write ( ty, async_) ;
10291029 }
1030- wasmparser:: CanonicalFunction :: StreamDropReadable { ty } => {
1031- section. stream_drop_readable ( reencoder. component_type_index ( ty) ) ;
1030+ wasmparser:: CanonicalFunction :: StreamCloseReadable { ty } => {
1031+ section. stream_close_readable ( reencoder. component_type_index ( ty) ) ;
10321032 }
1033- wasmparser:: CanonicalFunction :: StreamDropWritable { ty } => {
1034- section. stream_drop_writable ( reencoder. component_type_index ( ty) ) ;
1033+ wasmparser:: CanonicalFunction :: StreamCloseWritable { ty } => {
1034+ section. stream_close_writable ( reencoder. component_type_index ( ty) ) ;
10351035 }
10361036 wasmparser:: CanonicalFunction :: FutureNew { ty } => {
10371037 section. future_new ( reencoder. component_type_index ( ty) ) ;
@@ -1056,11 +1056,11 @@ pub mod component_utils {
10561056 wasmparser:: CanonicalFunction :: FutureCancelWrite { ty, async_ } => {
10571057 section. future_cancel_write ( ty, async_) ;
10581058 }
1059- wasmparser:: CanonicalFunction :: FutureDropReadable { ty } => {
1060- section. future_drop_readable ( reencoder. component_type_index ( ty) ) ;
1059+ wasmparser:: CanonicalFunction :: FutureCloseReadable { ty } => {
1060+ section. future_close_readable ( reencoder. component_type_index ( ty) ) ;
10611061 }
1062- wasmparser:: CanonicalFunction :: FutureDropWritable { ty } => {
1063- section. future_drop_writable ( reencoder. component_type_index ( ty) ) ;
1062+ wasmparser:: CanonicalFunction :: FutureCloseWritable { ty } => {
1063+ section. future_close_writable ( reencoder. component_type_index ( ty) ) ;
10641064 }
10651065 wasmparser:: CanonicalFunction :: ErrorContextNew { options } => {
10661066 let options = options
0 commit comments