未验证 提交 b1fac3a5 编写于 作者: M Mara Bos 提交者: GitHub

Bump debug_non_exhaustive stabilization to 1.53.

上级 b8e49816
......@@ -185,7 +185,7 @@ pub fn field(&mut self, name: &str, value: &dyn fmt::Debug) -> &mut Self {
/// "Bar { bar: 10, .. }",
/// );
/// ```
#[stable(feature = "debug_non_exhaustive", since = "1.52.0")]
#[stable(feature = "debug_non_exhaustive", since = "1.53.0")]
pub fn finish_non_exhaustive(&mut self) -> fmt::Result {
self.result = self.result.and_then(|_| {
// Draw non-exhaustive dots (`..`), and open brace if necessary (no fields).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册