Skip to content

Commit 6efb835

Browse files
committed
Rollup merge of rust-lang#24110 - tbu-:pr_doc_fix_add, r=alexcrichton
2 parents 50cb31f + 3b9847e commit 6efb835

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)