1
Fork 0

Change remaining "iface" occurrences to "trait"; deprecate "iface"

This commit is contained in:
Lindsey Kuper 2012-07-31 10:27:51 -07:00
parent c2f49c46ae
commit 439afaa329
111 changed files with 194 additions and 188 deletions

View file

@ -510,7 +510,7 @@ fn eq(value0: json, value1: json) -> bool {
}
}
iface to_json { fn to_json() -> json; }
trait to_json { fn to_json() -> json; }
impl of to_json for json {
fn to_json() -> json { self }