Skip to content

Add default methods to trait documentation #23043

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

Merged
merged 1 commit into from
Mar 9, 2015

Conversation

steveklabnik
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

```

Implementors of the `Foo` trait need to implement `bar()`, but they don't
need to implement `baz()`. They'll get this defualt behavior. They can
Copy link
Member

Choose a reason for hiding this comment

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

s/defualt/default

@nikomatsakis
Copy link
Contributor

lgtm modulo the typo @killercup pointed out

@steveklabnik
Copy link
Member Author

@bors: r=nikomatsakis de44baa rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 8, 2015
@bors
Copy link
Collaborator

bors commented Mar 9, 2015

⌛ Testing commit de44baa with merge 36c3612...

@bors
Copy link
Collaborator

bors commented Mar 9, 2015

@bors bors merged commit de44baa into rust-lang:master Mar 9, 2015
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.

5 participants