Skip to content

Commit 3b9847e

Browse files
committed
Fix code formatting in core::ops::Add example
1 parent cf51e55 commit 3b9847e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libcore/ops.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ macro_rules! forward_ref_binop {
172172
/// type Output = Foo;
173173
///
174174
/// fn add(self, _rhs: Foo) -> Foo {
175-
/// println!("Adding!");
176-
/// self
177-
/// }
175+
/// println!("Adding!");
176+
/// self
177+
/// }
178178
/// }
179179
///
180180
/// fn main() {
181-
/// Foo + Foo;
181+
/// Foo + Foo;
182182
/// }
183183
/// ```
184184
#[lang="add"]

0 commit comments

Comments
 (0)