Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
bd065d33
R
Rust
项目概览
int
/
Rust
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bd065d33
编写于
3月 22, 2013
作者:
B
bors
浏览文件
操作
浏览文件
下载
差异文件
auto merge of #5496 : catamorphism/rust/release-notes, r=catamorphism
上级
e9b077c0
d049bf24
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
RELEASES.txt
RELEASES.txt
+9
-9
未找到文件。
RELEASES.txt
浏览文件 @
bd065d33
...
...
@@ -6,15 +6,16 @@ Version 0.6 (March 2013)
* TODO:
* Ord/Cmp
* Lifetime changes
* Implicit self
* Remove `static` keyword
* Static method syntax
* `as Trait`
* `copy` removed, replaced with `Clone`?
*
`std::map` removed, replaced with `core::hashmap`
*
More details for "Name resolution continues to be tweaked"?
* Syntax changes
* The self type parameter in traits is now spelled `Self`
* The `self` parameter in trait and impl methods must now be explicitly
named (for example: `fn f(&self) { }`). Implicit self is deprecated.
* Replaced the `Durable` trait with the `'static` lifetime
* The old closure type syntax with the trailing sigil has been
removed in favor of the more consistent leading sigil
...
...
@@ -23,7 +24,7 @@ Version 0.6 (March 2013)
* Traits are implemented with `impl Trait for Type`
instead of `impl Type: Trait`
* The `export` keyword has finally been removed
* The `move` keyword has been removed (
linear types move by default
)
* The `move` keyword has been removed (
see "Semantic changes"
)
* The interior mutability qualifier on vectors, `[mut T]`, has been
removed. Use `&mut [T]`, etc.
* `mut` is no longer valid in `~mut T`. Use inherited mutability
...
...
@@ -37,6 +38,7 @@ Version 0.6 (March 2013)
function modules. Use extern blocks: `extern { ... }`
* Newtype enums removed. Used tuple-structs.
* Trait implementations no longer support visibility modifiers
* Pattern matching over vectors improved and expanded
* Semantic changes
* Types with owned pointers or custom destructors move by default,
...
...
@@ -49,12 +51,9 @@ Version 0.6 (March 2013)
* The default type of an inferred closure is &fn instead of @fn
* Name resolution continues to be tweaked
* Method visibility is inherited from the implementation declaration
* Other language changes
* Structural records have been removed
* Many more types can be used in constants, including enums
* Many more types can be used in constants, including enums
,
`static lifetime pointers and vectors
* Pattern matching over vectors improved and expanded
* Typechecking of closure types has been overhauled to
improve inference and eliminate unsoundness
...
...
@@ -68,6 +67,7 @@ Version 0.6 (March 2013)
* Containers reorganized around traits in `core::container`
* `core::dvec` removed, `~[T]` is a drop-in replacement
* `core::send_map` renamed to `core::hashmap`
* `std::map` removed; replaced with `core::hashmap`
* `std::treemap` reimplemented as an owned balanced tree
* `std::deque` and `std::smallintmap` reimplemented as owned containers
* `core::trie` added as a fast ordered map for integer keys
...
...
@@ -76,14 +76,14 @@ Version 0.6 (March 2013)
* Tools
* Replaced the 'cargo' package manager with 'rustpkg'
* Added all-purpose 'rust' tool
* `rustc --test` now supports
a
benchmarks with the `#[bench]` attribute
* `rustc --test` now supports benchmarks with the `#[bench]` attribute
* rustc now attempts to offer spelling suggestions
* Misc
* Improved support for ARM and Android
* Preliminary MIPS backend
* Improved foreign function ABI implementation for x86, x86_64
* Various
and
memory usage improvements
* Various memory usage improvements
* Rust code may be embedded in foreign code under limited circumstances
Version 0.5 (December 2012)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录