Skip to content

Commit

Permalink
Rollup merge of rust-lang#24110 - tbu-:pr_doc_fix_add, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 7, 2015
2 parents 50cb31f + 3b9847e commit 6efb835
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libcore/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ macro_rules! forward_ref_binop {
/// type Output = Foo;
///
/// fn add(self, _rhs: Foo) -> Foo {
/// println!("Adding!");
/// self
/// }
/// println!("Adding!");
/// self
/// }
/// }
///
/// fn main() {
/// Foo + Foo;
/// Foo + Foo;
/// }
/// ```
#[lang="add"]
Expand Down

0 comments on commit 6efb835

Please sign in to comment.