update this test to use the new syntax entirely
This commit is contained in:
parent
6c728e32c0
commit
d3f3d0731c
@ -12,12 +12,12 @@ struct Clam<'self> {
|
|||||||
chowder: &'self int
|
chowder: &'self int
|
||||||
}
|
}
|
||||||
|
|
||||||
trait get_chowder {
|
trait get_chowder<'self> {
|
||||||
fn get_chowder() -> &self/int;
|
fn get_chowder() -> &'self int;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl get_chowder for Clam {
|
impl<'self> get_chowder<'self> for Clam<'self> {
|
||||||
fn get_chowder() -> &self/int { return self.chowder; }
|
fn get_chowder() -> &'self int { return self.chowder; }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user