Fix the manual implementation example for the Debug trait so it matches the given output
This commit is contained in:
parent
098ea17556
commit
83c3125383
@ -328,7 +328,7 @@ impl<'a> Display for Arguments<'a> {
|
||||
///
|
||||
/// impl fmt::Debug for Point {
|
||||
/// fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
/// write!(f, "({}, {})", self.x, self.y)
|
||||
/// write!(f, "Point {{ x: {}, y: {} }}", self.x, self.y)
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user