提交 77743599 编写于 作者: B bors

Auto merge of #21586 - pyfisch:patch-1, r=alexcrichton

Spellfix for `Debug` trait documentation. Change "most all types should implement this" to "all types should implement this". Same fix for deprecated `Show` trait.
......@@ -231,7 +231,7 @@ fn fmt(&self, fmt: &mut Formatter) -> Result {
}
}
/// Format trait for the `:?` format. Useful for debugging, most all types
/// Format trait for the `:?` format. Useful for debugging, all types
/// should implement this.
#[deprecated = "renamed to Debug"]
#[cfg(not(stage0))]
......@@ -240,7 +240,7 @@ pub trait Show {
fn fmt(&self, &mut Formatter) -> Result;
}
/// Format trait for the `:?` format. Useful for debugging, most all types
/// Format trait for the `:?` format. Useful for debugging, all types
/// should implement this.
#[unstable = "I/O and core have yet to be reconciled"]
#[rustc_on_unimplemented = "`{Self}` cannot be formatted using `:?`; if it is defined in your \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册