forked from mirrors/gstreamer-rs
gstreamer/buffer: Fix clippy::needless_lifetimes
This commit is contained in:
parent
b0b2b8d4ed
commit
56c2b730f8
1 changed files with 4 additions and 4 deletions
|
@ -676,13 +676,13 @@ impl BufferRef {
|
|||
IterOwned::new(self)
|
||||
}
|
||||
|
||||
pub fn as_cursor_readable<'a>(&'a self) -> BufferRefCursor<&'a BufferRef> {
|
||||
pub fn as_cursor_readable(&self) -> BufferRefCursor<&BufferRef> {
|
||||
BufferRefCursor::new_readable(self)
|
||||
}
|
||||
|
||||
pub fn as_cursor_writable<'a>(
|
||||
&'a mut self,
|
||||
) -> Result<BufferRefCursor<&'a mut BufferRef>, glib::BoolError> {
|
||||
pub fn as_cursor_writable(
|
||||
&mut self,
|
||||
) -> Result<BufferRefCursor<&mut BufferRef>, glib::BoolError> {
|
||||
BufferRefCursor::new_writable(self)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue