Skip to content

Commit 2321256

Browse files
authored
Merge pull request #1152 from Philippus/issue-1149
Remove redirect_from from zh-cn tour, fixes #1149
2 parents babbc49 + c20f0b2 commit 2321256

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

_zh-cn/tour/basics.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ language: zh-cn
1111

1212
next-page: unified-types
1313
previous-page: tour-of-scala
14-
15-
redirect_from: "/tutorials/tour/basics.html"
1614
---
1715

1816
这篇文章涵盖了Scala的基础知识。

_zh-cn/tour/classes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ next-page: traits
1414
previous-page: unified-types
1515
topics: classes
1616
prerequisite-knowledge: no-return-keyword, type-declaration-syntax, string-interpolation, procedures
17-
18-
redirect_from: "/tutorials/tour/classes.html"
1917
---
2018

2119
Scala中的类是用于创建对象的蓝图,其中包含了方法、常量、变量、类型、对象、特质、类,这些统称为成员。类型、对象和特质将在后面的文章中介绍。

_zh-cn/tour/traits.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ next-page: tuples
1414
previous-page: classes
1515
topics: traits
1616
prerequisite-knowledge: expressions, classes, generics, objects, companion-objects
17-
18-
redirect_from: "/tutorials/tour/traits.html"
1917
---
2018

2119
特质 (Traits) 用于在类 (Class)之间共享程序接口 (Interface)和字段 (Fields)。 它们类似于Java 8的接口。 类和对象 (Objects)可以扩展特质,但是特质不能被实例化,因此特质没有参数。

_zh-cn/tour/unified-types.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ language: zh-cn
1313
next-page: classes
1414
previous-page: basics
1515
prerequisite-knowledge: classes, basics
16-
17-
redirect_from: "/tutorials/tour/unified-types.html"
1816
---
1917

2018
在Scala中,所有的值都有类型,包括数值和函数。下图阐述了类型层次结构的一个子集。

0 commit comments

Comments
 (0)