Skip to content

Commit 7e2548f

Browse files
authored
Import Debug instead of redefining it
1 parent bd31962 commit 7e2548f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

library/std/src/primitive_docs.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,7 @@ mod prim_bool {}
232232
///
233233
/// ```
234234
/// #![feature(never_type)]
235-
/// # use std::fmt;
236-
/// # trait Debug {
237-
/// # fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result;
238-
/// # }
235+
/// # use std::fmt::{self, Debug};
239236
/// impl Debug for ! {
240237
/// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
241238
/// *self

0 commit comments

Comments
 (0)