Import Debug
instead of redefining it
This commit is contained in:
parent
bd3196282b
commit
7e2548fe69
1 changed files with 1 additions and 4 deletions
|
@ -232,10 +232,7 @@ mod prim_bool {}
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// #![feature(never_type)]
|
/// #![feature(never_type)]
|
||||||
/// # use std::fmt;
|
/// # use std::fmt::{self, Debug};
|
||||||
/// # trait Debug {
|
|
||||||
/// # fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result;
|
|
||||||
/// # }
|
|
||||||
/// impl Debug for ! {
|
/// impl Debug for ! {
|
||||||
/// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
|
/// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
/// *self
|
/// *self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue