changed to impl trait for type stx

This commit is contained in:
John Clements 2013-04-18 13:58:15 -07:00
parent 77da055345
commit 9455eaf77b

View File

@ -32,7 +32,7 @@ impl Positioned<int> for Point {
}
}
impl Point: Movable<int, int>;
impl Movable<int, int> for Point;
pub fn main() {
let p = Point{ x: 1, y: 2};