codec/subtitle: use lifetime elision
This commit is contained in:
parent
b083d029da
commit
3c227329ae
@ -80,7 +80,7 @@ impl Subtitle {
|
|||||||
self.val.end_display_time = value as uint32_t;
|
self.val.end_display_time = value as uint32_t;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn rects<'a>(&'a self) -> RectIter<'a> {
|
pub fn rects(&self) -> RectIter {
|
||||||
RectIter::new(&self.val)
|
RectIter::new(&self.val)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user