mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #649 from bobozhengsir/patch-1
Update scala-cn.html.markdown
This commit is contained in:
commit
b73a35a306
@ -369,7 +369,7 @@ import scala.collection.immutable._
|
||||
import scala.collection.immutable.{List, Map}
|
||||
|
||||
// 使用 '=>' 来重命名一个 import
|
||||
import scala.collection.immutable{ List => ImmutableList }
|
||||
import scala.collection.immutable.{ List => ImmutableList }
|
||||
|
||||
// import 除了一些类的其它所有的类。下面的例子除去了 Map 类和 Set 类:
|
||||
import scala.collection.immutable.{Map => _, Set => _, _}
|
||||
|
Loading…
Reference in New Issue
Block a user