Rollup merge of #24110 - tbu-:pr_doc_fix_add, r=alexcrichton
This commit is contained in:
commit
6efb8352e8
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user