File tree Expand file tree Collapse file tree 4 files changed +5
-12
lines changed Expand file tree Collapse file tree 4 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1919
2020env :
2121 CARGO_TERM_COLOR : always
22- CARGO_COMPONENT_VERSION : 0.14.0
22+ CARGO_COMPONENT_VERSION : 0.21.1
2323 RUST_VERSION : " 1.86"
2424 WASI_SDK_VERSION : " 22.0"
2525 WASI_SDK_RELEASE : wasi-sdk-22
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ concurrency: ${{ github.workflow }}
1818
1919env :
2020 CARGO_TERM_COLOR : always
21- CARGO_COMPONENT_VERSION : 0.14.0
21+ CARGO_COMPONENT_VERSION : 0.21.1
2222 RUST_VERSION : " 1.86"
2323 WASI_SDK_VERSION : " 22.0"
2424 WASI_SDK_RELEASE : wasi-sdk-22
Original file line number Diff line number Diff line change @@ -107,11 +107,7 @@ fn run<'a, 'b>(
107107
108108 cmd. arg ( "-c" ) ;
109109 cmd. envs ( env) ;
110- let c = args
111- . into_iter ( )
112- . map ( Into :: into)
113- . collect :: < Vec < & str > > ( )
114- . join ( " " ) ;
110+ let c = args. into_iter ( ) . collect :: < Vec < _ > > ( ) . join ( " " ) ;
115111 cmd. arg ( & c) ;
116112
117113 ( c, cmd. output ( ) . unwrap ( ) )
Original file line number Diff line number Diff line change @@ -88,10 +88,7 @@ enum RoutingResult<'router, 'path> {
8888}
8989
9090/// Create a router from the Spin manifest.
91- fn router < ' a > (
92- manifest : & spin_manifest:: schema:: v2:: AppManifest ,
93- base : & str ,
94- ) -> anyhow:: Result < Router > {
91+ fn router ( manifest : & spin_manifest:: schema:: v2:: AppManifest , base : & str ) -> anyhow:: Result < Router > {
9592 let routes = manifest
9693 . triggers
9794 . get ( "http" )
@@ -186,7 +183,7 @@ fn calculate_default_headers<'a>(
186183 } ;
187184 let host = req
188185 . headers ( )
189- . get ( & "Host" . to_owned ( ) )
186+ . get ( "Host" )
190187 . into_iter ( )
191188 . find ( |v| !v. is_empty ( ) )
192189 . map ( String :: from_utf8)
You can’t perform that action at this time.
0 commit comments