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;
|
/// type Output = Foo;
|
||||||
///
|
///
|
||||||
/// fn add(self, _rhs: Foo) -> Foo {
|
/// fn add(self, _rhs: Foo) -> Foo {
|
||||||
/// println!("Adding!");
|
/// println!("Adding!");
|
||||||
/// self
|
/// self
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// fn main() {
|
/// fn main() {
|
||||||
/// Foo + Foo;
|
/// Foo + Foo;
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[lang="add"]
|
#[lang="add"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user