Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
5bf7ba07
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,发现更多精彩内容 >>
提交
5bf7ba07
编写于
12月 17, 2012
作者:
B
Brian Anderson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Register snapshots
上级
68998724
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
8 addition
and
55 deletion
+8
-55
src/libcore/int-template.rs
src/libcore/int-template.rs
+0
-4
src/libcore/int-template/int.rs
src/libcore/int-template/int.rs
+0
-4
src/libcore/iter-trait.rs
src/libcore/iter-trait.rs
+0
-4
src/libcore/kinds.rs
src/libcore/kinds.rs
+0
-18
src/libcore/uint-template.rs
src/libcore/uint-template.rs
+0
-4
src/libcore/uint-template/u8.rs
src/libcore/uint-template/u8.rs
+0
-4
src/libcore/uint-template/uint.rs
src/libcore/uint-template/uint.rs
+0
-7
src/libstd/priority_queue.rs
src/libstd/priority_queue.rs
+0
-10
src/snapshots.txt
src/snapshots.txt
+8
-0
未找到文件。
src/libcore/int-template.rs
浏览文件 @
5bf7ba07
...
...
@@ -12,10 +12,6 @@
#[forbid(deprecated_mode)]
;
#[forbid(deprecated_pattern)]
;
#[cfg(stage0)]
use
T
=
inst
::
T
;
#[cfg(stage1)]
#[cfg(stage2)]
use
T
=
self
::
inst
::
T
;
use
cmp
::{
Eq
,
Ord
};
...
...
src/libcore/int-template/int.rs
浏览文件 @
5bf7ba07
...
...
@@ -10,10 +10,6 @@
//! Operations and constants for `int`
#[cfg(stage0)]
pub
use
inst
::
pow
;
#[cfg(stage1)]
#[cfg(stage2)]
pub
use
self
::
inst
::
pow
;
mod
inst
{
...
...
src/libcore/iter-trait.rs
浏览文件 @
5bf7ba07
...
...
@@ -17,10 +17,6 @@
use
cmp
::{
Eq
,
Ord
};
#[cfg(stage0)]
use
inst
::{
IMPL_T
,
EACH
,
SIZE_HINT
};
#[cfg(stage1)]
#[cfg(stage2)]
use
self
::
inst
::{
IMPL_T
,
EACH
,
SIZE_HINT
};
impl
<
A
>
IMPL_T
<
A
>
:
iter
::
BaseIter
<
A
>
{
...
...
src/libcore/kinds.rs
浏览文件 @
5bf7ba07
...
...
@@ -44,15 +44,6 @@ pub trait Copy {
// Empty.
}
#[cfg(stage0)]
#[lang=
"send"
]
pub
trait
Owned
{
// Empty.
}
#[cfg(stage1)]
#[cfg(stage2)]
#[cfg(stage3)]
#[lang=
"owned"
]
pub
trait
Owned
{
// Empty.
...
...
@@ -63,15 +54,6 @@ pub trait Const {
// Empty.
}
#[cfg(stage0)]
#[lang=
"owned"
]
pub
trait
Durable
{
// Empty.
}
#[cfg(stage1)]
#[cfg(stage2)]
#[cfg(stage3)]
#[lang=
"durable"
]
pub
trait
Durable
{
// Empty.
...
...
src/libcore/uint-template.rs
浏览文件 @
5bf7ba07
...
...
@@ -12,10 +12,6 @@
#[forbid(deprecated_mode)]
;
#[forbid(deprecated_pattern)]
;
#[cfg(stage0)]
use
T
=
inst
::
T
;
#[cfg(stage1)]
#[cfg(stage2)]
use
T
=
self
::
inst
::
T
;
use
cmp
::{
Eq
,
Ord
};
...
...
src/libcore/uint-template/u8.rs
浏览文件 @
5bf7ba07
...
...
@@ -10,10 +10,6 @@
//! Operations and constants for `u8`
#[cfg(stage0)]
pub
use
inst
::
is_ascii
;
#[cfg(stage1)]
#[cfg(stage2)]
pub
use
self
::
inst
::
is_ascii
;
mod
inst
{
...
...
src/libcore/uint-template/uint.rs
浏览文件 @
5bf7ba07
...
...
@@ -10,13 +10,6 @@
//! Operations and constants for `uint`
#[cfg(stage0)]
pub
use
inst
::{
div_ceil
,
div_round
,
div_floor
,
iterate
,
next_power_of_two
};
#[cfg(stage1)]
#[cfg(stage2)]
pub
use
self
::
inst
::{
div_ceil
,
div_round
,
div_floor
,
iterate
,
next_power_of_two
...
...
src/libstd/priority_queue.rs
浏览文件 @
5bf7ba07
...
...
@@ -80,20 +80,10 @@ fn replace(&mut self, item: T) -> T {
}
/// Consume the PriorityQueue and return the underlying vector
#[cfg(stage0)]
pure
fn
to_vec
(
self
)
->
~
[
T
]
{
fail
}
#[cfg(stage1)]
#[cfg(stage2)]
#[cfg(stage3)]
pure
fn
to_vec
(
self
)
->
~
[
T
]
{
let
PriorityQueue
{
data
:
v
}
=
self
;
v
}
/// Consume the PriorityQueue and return a vector in sorted
/// (ascending) order
#[cfg(stage0)]
pure
fn
to_sorted_vec
(
self
)
->
~
[
T
]
{
fail
}
#[cfg(stage1)]
#[cfg(stage2)]
#[cfg(stage3)]
pure
fn
to_sorted_vec
(
self
)
->
~
[
T
]
{
let
mut
q
=
self
;
let
mut
end
=
q
.len
();
...
...
src/snapshots.txt
浏览文件 @
5bf7ba07
S 2012-12-14 dbc52ce
macos-i386 994697c57810b8f139d71df47024512970db860c
macos-x86_64 f8faa6a80b0b98b27ceee6fec71ded7ca058104d
winnt-i386 92ac1ac09a262a59f40160c9dcf535e1c8ea8e75
freebsd-x86_64 d39ff0cbd7fdf04de55baea9d4003705f5ff6441
linux-i386 a7cfdd83d18e9064644147204f96fada70f3b47e
linux-x86_64 601d0e105b46a8c6487e8ac2cd159750039a6049
S 2012-12-08 6630d75
macos-i386 cdb0f0ebe99b8fea7688d9ae32860a63d1e05399
macos-x86_64 c509dc252be6e1c5cf862c659235dc94bde397aa
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录