Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc example to clone trait #32416

Merged
merged 1 commit into from
Mar 24, 2016
Merged

Conversation

GuillaumeGomez
Copy link
Member

Fixes #29346.

r? @steveklabnik

//! let copy = s.clone(); // so we can clone it
//! ```
//!
//! To implement easily the Clone trait, you can also use
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"To easily implement"

@GuillaumeGomez
Copy link
Member Author

Updated.

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Mar 24, 2016

📌 Commit b3aa35e has been approved by steveklabnik

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Mar 24, 2016
bors added a commit that referenced this pull request Mar 24, 2016
Rollup of 6 pull requests

- Successful merges: #32276, #32416, #32452, #32459, #32462, #32464
- Failed merges:
@bors bors merged commit b3aa35e into rust-lang:master Mar 24, 2016
@GuillaumeGomez GuillaumeGomez deleted the patch-3 branch March 25, 2016 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants