the-swift-programming-language-in-chinese icon indicating copy to clipboard operation
the-swift-programming-language-in-chinese copied to clipboard

Swift教程-闭包-值捕获 翻译错误

Open areslk opened this issue 1 year ago • 1 comments

  • 原文:The closure expression also specifies a return type of String, to indicate the type that will be stored in the mapped output array.
  • 译文:闭包表达式指定了返回类型为 String,以表明存储映射值的新数组类型为 String。

新数组类型应该为[String] 而不是String 或者这样翻译:闭包表达式还指定了返回类型为 String,以表示将存储在映射后的新数组中元素的类型为String。

areslk avatar Mar 23 '23 18:03 areslk

@areslk 欢迎提交 PR 呀

SwiftSIQI avatar Sep 29 '23 05:09 SwiftSIQI