Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
57b7d555
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,发现更多精彩内容 >>
提交
57b7d555
编写于
11月 20, 2018
作者:
S
Steve Klabnik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix more links
上级
0579ef01
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
12 deletion
+10
-12
src/doc/unstable-book/src/language-features/macro-literal-matcher.md
...table-book/src/language-features/macro-literal-matcher.md
+2
-2
src/doc/unstable-book/src/language-features/plugin.md
src/doc/unstable-book/src/language-features/plugin.md
+0
-2
src/libcore/iter/iterator.rs
src/libcore/iter/iterator.rs
+3
-3
src/libstd/lib.rs
src/libstd/lib.rs
+5
-5
未找到文件。
src/doc/unstable-book/src/language-features/macro-literal-matcher.md
浏览文件 @
57b7d555
...
...
@@ -4,7 +4,7 @@ The tracking issue for this feature is: [#35625]
The RFC is: [rfc#1576].
With this feature gate enabled, the
[
list of
fragment specifiers
][
frag
s
]
gains one more entry:
With this feature gate enabled, the [list of
designator
s] gains one more entry:
*
`literal`
: a literal. Examples: 2, "string", 'c'
...
...
@@ -12,6 +12,6 @@ A `literal` may be followed by anything, similarly to the `ident` specifier.
[
rfc#1576
]:
http://rust-lang.github.io/rfcs/1576-macros-literal-matcher.html
[
#35625
]:
https://github.com/rust-lang/rust/issues/35625
[
frags
]:
../book/first-edition/macros.html#syntactic-requirements
[
list of designators
]:
../reference/macros-by-example.html
------------------------
src/doc/unstable-book/src/language-features/plugin.md
浏览文件 @
57b7d555
...
...
@@ -137,8 +137,6 @@ of extensions. See `Registry::register_syntax_extension` and the
## Tips and tricks
Some of the
[
macro debugging tips
](
../book/first-edition/macros.html#debugging-macro-code
)
are applicable.
You can use
`syntax::parse`
to turn token trees into
higher-level syntax elements like expressions:
...
...
src/libcore/iter/iterator.rs
浏览文件 @
57b7d555
...
...
@@ -532,7 +532,7 @@ fn zip<U>(self, other: U) -> Zip<Self, U::IntoIter> where
/// If you're doing some sort of looping for a side effect, it's considered
/// more idiomatic to use [`for`] than `map()`.
///
/// [`for`]: ../../book/
first-edition/loops.html#
for
/// [`for`]: ../../book/
ch03-05-control-flow.html#looping-through-a-collection-with-
for
///
/// # Examples
///
...
...
@@ -580,7 +580,7 @@ fn map<B, F>(self, f: F) -> Map<Self, F> where
/// cases `for_each` may also be faster than a loop, because it will use
/// internal iteration on adaptors like `Chain`.
///
/// [`for`]: ../../book/
first-edition/loops.html#
for
/// [`for`]: ../../book/
ch03-05-control-flow.html#looping-through-a-collection-with-
for
///
/// # Examples
///
...
...
@@ -1669,7 +1669,7 @@ fn try_for_each<F, R>(&mut self, mut f: F) -> R where
/// use a `for` loop with a list of things to build up a result. Those
/// can be turned into `fold()`s:
///
/// [`for`]: ../../book/
first-edition/loops.html#
for
/// [`for`]: ../../book/
ch03-05-control-flow.html#looping-through-a-collection-with-
for
///
/// ```
/// let numbers = [1, 2, 3, 4, 5];
...
...
src/libstd/lib.rs
浏览文件 @
57b7d555
...
...
@@ -185,7 +185,7 @@
//! [slice]: primitive.slice.html
//! [`atomic`]: sync/atomic/index.html
//! [`collections`]: collections/index.html
//
! [`for`]: ../book/first-edition/loops.html#
for
//
/ [`for`]: ../../book/ch03-05-control-flow.html#looping-through-a-collection-with-
for
//! [`format!`]: macro.format.html
//! [`fs`]: fs/index.html
//! [`io`]: io/index.html
...
...
@@ -200,14 +200,14 @@
//! [`sync`]: sync/index.html
//! [`thread`]: thread/index.html
//! [`use std::env`]: env/index.html
//! [`use`]: ../book/
first-edition/crates-and-modules.html#importing-modules-with-us
e
//! [crate root]: ../book/
first-edition/crates-and-modules.html#basic-terminology-crates-and-modules
//! [`use`]: ../book/
ch07-02-modules-and-use-to-control-scope-and-privacy.html#use-to-bring-paths-into-scop
e
//! [crate root]: ../book/
ch07-01-packages-and-crates-for-making-libraries-and-executables.html
//! [crates.io]: https://crates.io
//! [deref-coercions]: ../book/
second-edition/
ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods
//! [deref-coercions]: ../book/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods
//! [files]: fs/struct.File.html
//! [multithreading]: thread/index.html
//! [other]: #what-is-in-the-standard-library-documentation
//! [primitive types]: ../book/
first-edition/primitive
-types.html
//! [primitive types]: ../book/
ch03-02-data
-types.html
#![stable(feature
=
"rust1"
,
since
=
"1.0.0"
)]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录