Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
266d4829
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,发现更多精彩内容 >>
提交
266d4829
编写于
5月 05, 2015
作者:
M
Manish Goregaokar
浏览文件
操作
浏览文件
下载
差异文件
Rollup merge of #25100 - jbcrail:fix-spelling-errors, r=steveklabnik
I corrected several spelling errors in the external documentation.
上级
4fb22164
464069a4
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
9 addition
and
9 deletion
+9
-9
src/libcollections/str.rs
src/libcollections/str.rs
+2
-2
src/libcollections/string.rs
src/libcollections/string.rs
+1
-1
src/libcore/str/mod.rs
src/libcore/str/mod.rs
+1
-1
src/librustc/middle/infer/higher_ranked/mod.rs
src/librustc/middle/infer/higher_ranked/mod.rs
+1
-1
src/librustc/middle/ty.rs
src/librustc/middle/ty.rs
+1
-1
src/libstd/macros.rs
src/libstd/macros.rs
+1
-1
src/libstd/path.rs
src/libstd/path.rs
+1
-1
src/libsyntax/ast.rs
src/libsyntax/ast.rs
+1
-1
未找到文件。
src/libcollections/str.rs
浏览文件 @
266d4829
...
...
@@ -713,7 +713,7 @@ pub fn rsplit<'a, P: Pattern<'a>>(&'a self, pat: P) -> RSplit<'a, P>
/// is skipped if empty.
///
/// This method can be used for string data that is _terminated_,
/// rather than _sep
e
rated_ by a pattern.
/// rather than _sep
a
rated_ by a pattern.
///
/// # Iterator behavior
///
...
...
@@ -760,7 +760,7 @@ pub fn split_terminator<'a, P: Pattern<'a>>(&'a self, pat: P) -> SplitTerminator
/// skipped if empty.
///
/// This method can be used for string data that is _terminated_,
/// rather than _sep
e
rated_ by a pattern.
/// rather than _sep
a
rated_ by a pattern.
///
/// # Iterator behavior
///
...
...
src/libcollections/string.rs
浏览文件 @
266d4829
...
...
@@ -757,7 +757,7 @@ impl FromUtf8Error {
#[stable(feature
=
"rust1"
,
since
=
"1.0.0"
)]
pub
fn
into_bytes
(
self
)
->
Vec
<
u8
>
{
self
.bytes
}
/// Access
s
the underlying UTF8-error that was the cause of this error.
/// Access the underlying UTF8-error that was the cause of this error.
#[stable(feature
=
"rust1"
,
since
=
"1.0.0"
)]
pub
fn
utf8_error
(
&
self
)
->
Utf8Error
{
self
.error
}
}
...
...
src/libcore/str/mod.rs
浏览文件 @
266d4829
...
...
@@ -421,7 +421,7 @@ fn clone(&self) -> Self {
/// wrapping an private internal one that makes use of the `Pattern` API.
///
/// For all patterns `P: Pattern<'a>` the following items will be
/// generated (generics om
m
itted):
/// generated (generics omitted):
///
/// struct $forward_iterator($internal_iterator);
/// struct $reverse_iterator($internal_iterator);
...
...
src/librustc/middle/infer/higher_ranked/mod.rs
浏览文件 @
266d4829
...
...
@@ -461,7 +461,7 @@ fn region_vars_confined_to_snapshot(&self,
/// Constructs and returns a substitution that, for a given type
/// scheme parameterized by `generics`, will replace every generic
/// parmeter in the type with a skolemized type/region (which one can
/// par
a
meter in the type with a skolemized type/region (which one can
/// think of as a "fresh constant", except at the type/region level of
/// reasoning).
///
...
...
src/librustc/middle/ty.rs
浏览文件 @
266d4829
...
...
@@ -1908,7 +1908,7 @@ pub enum Predicate<'tcx> {
}
impl
<
'tcx
>
Predicate
<
'tcx
>
{
/// Performs a substituion suitable for going from a
/// Performs a substitu
t
ion suitable for going from a
/// poly-trait-ref to supertraits that must hold if that
/// poly-trait-ref holds. This is slightly different from a normal
/// substitution in terms of what happens with bound regions. See
...
...
src/libstd/macros.rs
浏览文件 @
266d4829
...
...
@@ -434,7 +434,7 @@ pub mod builtin {
/// Parse the current given file as an expression.
///
/// This is generally a bad idea, because it's going to behave unhygenically.
/// This is generally a bad idea, because it's going to behave unhyg
i
enically.
///
/// # Examples
///
...
...
src/libstd/path.rs
浏览文件 @
266d4829
...
...
@@ -358,7 +358,7 @@ pub fn is_separator(c: char) -> bool {
c.is_ascii() && is_sep_byte(c as u8)
}
/// The primary s
pe
rator for the current platform
/// The primary s
epa
rator for the current platform
#[stable(feature = "
rust1
", since = "
1.0
.0
")]
pub const MAIN_SEPARATOR: char = platform::MAIN_SEP;
...
...
src/libsyntax/ast.rs
浏览文件 @
266d4829
...
...
@@ -595,7 +595,7 @@ pub enum Pat_ {
/// An associated const named using the qualified path `<T>::CONST` or
/// `<T as Trait>::CONST`. Associated consts from inherent impls can be
/// refered to as simply `T::CONST`, in which case they will end up as
/// refer
r
ed to as simply `T::CONST`, in which case they will end up as
/// PatEnum, and the resolver will have to sort that out.
PatQPath
(
QSelf
,
Path
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录