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
|
||||
}
|
||||
|
||||
trait get_chowder {
|
||||
fn get_chowder() -> &self/int;
|
||||
trait get_chowder<'self> {
|
||||
fn get_chowder() -> &'self int;
|
||||
}
|
||||
|
||||
impl get_chowder for Clam {
|
||||
fn get_chowder() -> &self/int { return self.chowder; }
|
||||
impl<'self> get_chowder<'self> for Clam<'self> {
|
||||
fn get_chowder() -> &'self int { return self.chowder; }
|
||||
}
|
||||
|
||||
pub fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user