Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
589c8244
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,发现更多精彩内容 >>
提交
589c8244
编写于
9月 26, 2015
作者:
A
Andrew Paseltiner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary `#![feature]` attributes
上级
9169e6c5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
2 addition
and
16 deletion
+2
-16
src/libcollections/str.rs
src/libcollections/str.rs
+0
-2
src/libcollections/vec.rs
src/libcollections/vec.rs
+0
-2
src/libcollections/vec_deque.rs
src/libcollections/vec_deque.rs
+0
-4
src/libcollectionstest/lib.rs
src/libcollectionstest/lib.rs
+0
-5
src/librustc_front/lib.rs
src/librustc_front/lib.rs
+0
-1
src/libstd/lib.rs
src/libstd/lib.rs
+2
-2
未找到文件。
src/libcollections/str.rs
浏览文件 @
589c8244
...
...
@@ -506,8 +506,6 @@ pub fn slice_shift_char(&self) -> Option<(char, &str)> {
///
/// # Examples
/// ```
/// #![feature(str_split_at)]
///
/// let s = "Löwe 老虎 Léopard";
/// let first_space = s.find(' ').unwrap_or(s.len());
/// let (a, b) = s.split_at(first_space);
...
...
src/libcollections/vec.rs
浏览文件 @
589c8244
...
...
@@ -753,8 +753,6 @@ pub fn is_empty(&self) -> bool { self.len() == 0 }
/// # Examples
///
/// ```
/// #![feature(split_off)]
///
/// let mut vec = vec![1,2,3];
/// let vec2 = vec.split_off(1);
/// assert_eq!(vec, [1]);
...
...
src/libcollections/vec_deque.rs
浏览文件 @
589c8244
...
...
@@ -1319,8 +1319,6 @@ pub fn remove(&mut self, index: usize) -> Option<T> {
/// # Examples
///
/// ```
/// #![feature(split_off)]
///
/// use std::collections::VecDeque;
///
/// let mut buf: VecDeque<_> = vec![1,2,3].into_iter().collect();
...
...
@@ -1406,8 +1404,6 @@ pub fn append(&mut self, other: &mut Self) {
/// # Examples
///
/// ```
/// #![feature(vec_deque_retain)]
///
/// use std::collections::VecDeque;
///
/// let mut buf = VecDeque::new();
...
...
src/libcollectionstest/lib.rs
浏览文件 @
589c8244
...
...
@@ -9,7 +9,6 @@
// except according to those terms.
#![feature(ascii)]
#![feature(append)]
#![feature(binary_heap_extras)]
#![feature(box_syntax)]
#![feature(btree_range)]
...
...
@@ -29,18 +28,14 @@
#![feature(set_recovery)]
#![feature(slice_bytes)]
#![feature(slice_splits)]
#![feature(split_off)]
#![feature(step_by)]
#![feature(str_char)]
#![feature(str_escape)]
#![feature(str_match_indices)]
#![feature(str_split_at)]
#![feature(str_utf16)]
#![feature(box_str)]
#![feature(test)]
#![feature(unboxed_closures)]
#![feature(unicode)]
#![feature(vec_deque_retain)]
#![feature(vec_push_all)]
#[macro_use]
extern
crate
log
;
...
...
src/librustc_front/lib.rs
浏览文件 @
589c8244
...
...
@@ -36,7 +36,6 @@
#![feature(staged_api)]
#![feature(str_char)]
#![feature(filling_drop)]
#![cfg_attr(test,
feature(test))]
extern
crate
serialize
;
#[macro_use]
extern
crate
log
;
...
...
src/libstd/lib.rs
浏览文件 @
589c8244
...
...
@@ -248,8 +248,8 @@
#![feature(wrapping)]
#![feature(zero_one)]
#![cfg_attr(windows,
feature(str_utf16))]
#![cfg_attr(test,
feature(float_from_str_radix,
range_inclusive,
float_extras
,
hash_default
))]
#![cfg_attr(test,
feature(test,
rustc_private
,
float_consts
))]
#![cfg_attr(test,
feature(float_from_str_radix,
range_inclusive,
float_extras))]
#![cfg_attr(test,
feature(test,
rustc_private))]
#![cfg_attr(target_env
=
"msvc"
,
feature(link_args))]
// Don't link to std. We are std.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录