Fix the manual implementation example for the Debug trait so it matches the given output

This commit is contained in:
Erik Davidson 2015-11-12 15:03:36 -06:00 committed by Erik Davidson
parent 098ea17556
commit 83c3125383

View File

@ -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)
/// }
/// }
///