File tree Expand file tree Collapse file tree
src-tauri/src/env_providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,9 +131,10 @@ impl ClojureEnvironmentProvider {
131131
132132 for release in metadata. releases {
133133 // 检查是否支持当前平台(支持 macos-aarch64、macos-x86_64 等格式)
134- let is_supported = release. supported_platforms . iter ( ) . any ( |p| {
135- p == current_platform || p. starts_with ( & format ! ( "{}-" , current_platform) )
136- } ) ;
134+ let is_supported = release
135+ . supported_platforms
136+ . iter ( )
137+ . any ( |p| p == current_platform || p. starts_with ( & format ! ( "{}-" , current_platform) ) ) ;
137138
138139 if !is_supported {
139140 continue ;
Original file line number Diff line number Diff line change @@ -283,9 +283,10 @@ impl ScalaEnvironmentProvider {
283283
284284 for release in metadata. releases {
285285 // 检查是否支持当前平台
286- let is_supported = release. supported_platforms . iter ( ) . any ( |p| {
287- p == current_platform || p. starts_with ( & format ! ( "{}-" , current_platform) )
288- } ) ;
286+ let is_supported = release
287+ . supported_platforms
288+ . iter ( )
289+ . any ( |p| p == current_platform || p. starts_with ( & format ! ( "{}-" , current_platform) ) ) ;
289290
290291 if !is_supported {
291292 continue ;
You can’t perform that action at this time.
0 commit comments