Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
ed73ec0e
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,发现更多精彩内容 >>
未验证
提交
ed73ec0e
编写于
2月 25, 2019
作者:
M
Mazdak Farrokhzad
提交者:
GitHub
2月 25, 2019
浏览文件
操作
浏览文件
下载
差异文件
Rollup merge of #58686 - hellow554:rustfmt_depr, r=cramertj
replace deprecated rustfmt_skip with rustfmt::skip
上级
4f8ae0ab
6464a0ba
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
7 deletion
+7
-7
src/liballoc/boxed.rs
src/liballoc/boxed.rs
+1
-1
src/libterm/terminfo/parser/compiled.rs
src/libterm/terminfo/parser/compiled.rs
+6
-6
未找到文件。
src/liballoc/boxed.rs
浏览文件 @
ed73ec0e
...
...
@@ -326,7 +326,7 @@ impl<T: Clone> Clone for Box<T> {
/// let x = Box::new(5);
/// let y = x.clone();
/// ```
#[rustfmt
_
skip]
#[rustfmt
::
skip]
#[inline]
fn
clone
(
&
self
)
->
Box
<
T
>
{
box
{
(
**
self
)
.clone
()
}
...
...
src/libterm/terminfo/parser/compiled.rs
浏览文件 @
ed73ec0e
...
...
@@ -9,7 +9,7 @@
// These are the orders ncurses uses in its compiled format (as of 5.9). Not sure if portable.
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
boolfnames
:
&
[
&
str
]
=
&
[
"auto_left_margin"
,
"auto_right_margin"
,
"no_esc_ctlc"
,
"ceol_standout_glitch"
,
"eat_newline_glitch"
,
"erase_overstrike"
,
"generic_type"
,
"hard_copy"
,
"has_meta_key"
,
"has_status_line"
,
"insert_null_glitch"
,
"memory_above"
,
...
...
@@ -22,13 +22,13 @@
"no_correctly_working_cr"
,
"gnu_has_meta_key"
,
"linefeed_is_newline"
,
"has_hardware_tabs"
,
"return_does_clr_eol"
];
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
boolnames
:
&
[
&
str
]
=
&
[
"bw"
,
"am"
,
"xsb"
,
"xhp"
,
"xenl"
,
"eo"
,
"gn"
,
"hc"
,
"km"
,
"hs"
,
"in"
,
"db"
,
"da"
,
"mir"
,
"msgr"
,
"os"
,
"eslok"
,
"xt"
,
"hz"
,
"ul"
,
"xon"
,
"nxon"
,
"mc5i"
,
"chts"
,
"nrrmc"
,
"npc"
,
"ndscr"
,
"ccc"
,
"bce"
,
"hls"
,
"xhpa"
,
"crxm"
,
"daisy"
,
"xvpa"
,
"sam"
,
"cpix"
,
"lpix"
,
"OTbs"
,
"OTns"
,
"OTnc"
,
"OTMT"
,
"OTNL"
,
"OTpt"
,
"OTxr"
];
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
numfnames
:
&
[
&
str
]
=
&
[
"columns"
,
"init_tabs"
,
"lines"
,
"lines_of_memory"
,
"magic_cookie_glitch"
,
"padding_baud_rate"
,
"virtual_terminal"
,
"width_status_line"
,
"num_labels"
,
"label_height"
,
"label_width"
,
"max_attributes"
,
...
...
@@ -39,13 +39,13 @@
"bit_image_entwining"
,
"bit_image_type"
,
"magic_cookie_glitch_ul"
,
"carriage_return_delay"
,
"new_line_delay"
,
"backspace_delay"
,
"horizontal_tab_delay"
,
"number_of_function_keys"
];
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
numnames
:
&
[
&
str
]
=
&
[
"cols"
,
"it"
,
"lines"
,
"lm"
,
"xmc"
,
"pb"
,
"vt"
,
"wsl"
,
"nlab"
,
"lh"
,
"lw"
,
"ma"
,
"wnum"
,
"colors"
,
"pairs"
,
"ncv"
,
"bufsz"
,
"spinv"
,
"spinh"
,
"maddr"
,
"mjump"
,
"mcs"
,
"mls"
,
"npins"
,
"orc"
,
"orl"
,
"orhi"
,
"orvi"
,
"cps"
,
"widcs"
,
"btns"
,
"bitwin"
,
"bitype"
,
"UTug"
,
"OTdC"
,
"OTdN"
,
"OTdB"
,
"OTdT"
,
"OTkn"
];
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
stringfnames
:
&
[
&
str
]
=
&
[
"back_tab"
,
"bell"
,
"carriage_return"
,
"change_scroll_region"
,
"clear_all_tabs"
,
"clear_screen"
,
"clr_eol"
,
"clr_eos"
,
"column_address"
,
"command_character"
,
"cursor_address"
,
"cursor_down"
,
"cursor_home"
,
...
...
@@ -119,7 +119,7 @@
"acs_lrcorner"
,
"acs_ltee"
,
"acs_rtee"
,
"acs_btee"
,
"acs_ttee"
,
"acs_hline"
,
"acs_vline"
,
"acs_plus"
,
"memory_lock"
,
"memory_unlock"
,
"box_chars_1"
];
#[rustfmt
_
skip]
#[rustfmt
::
skip]
pub
static
stringnames
:
&
[
&
str
]
=
&
[
"cbt"
,
"_"
,
"cr"
,
"csr"
,
"tbc"
,
"clear"
,
"_"
,
"_"
,
"hpa"
,
"cmdch"
,
"cup"
,
"cud1"
,
"home"
,
"civis"
,
"cub1"
,
"mrcup"
,
"cnorm"
,
"cuf1"
,
"ll"
,
"cuu1"
,
"cvvis"
,
"dch1"
,
"dl1"
,
"dsl"
,
"hd"
,
"smacs"
,
"blink"
,
"bold"
,
"smcup"
,
"smdc"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录