librustc: Stop parsing impl Type : Trait
and fix several declarations that slipped through. r=tjc
This commit is contained in:
parent
566bcf2225
commit
bb833ca0f0
82 changed files with 327 additions and 424 deletions
|
@ -2328,7 +2328,7 @@ pub trait OwnedStr {
|
|||
fn push_char(&mut self, c: char);
|
||||
}
|
||||
|
||||
pub impl ~str : OwnedStr {
|
||||
pub impl OwnedStr for ~str {
|
||||
fn push_str(&mut self, v: &str) {
|
||||
push_str(self, v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue