Commit e2950749 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Remove some unneeded lifetime annotations

parent d19c7069
......@@ -24,7 +24,7 @@ pub unsafe trait MetaAPI: Sized {
fn get_meta_api() -> glib::Type;
unsafe fn from_ptr<'a>(buffer: &'a BufferRef, ptr: *const Self::GstType) -> MetaRef<'a, Self> {
unsafe fn from_ptr(buffer: &BufferRef, ptr: *const Self::GstType) -> MetaRef<Self> {
assert!(!ptr.is_null());
let meta_api = Self::get_meta_api();
......@@ -41,10 +41,10 @@ pub unsafe trait MetaAPI: Sized {
}
}
unsafe fn from_mut_ptr<'a, T>(
buffer: &'a mut BufferRef,
unsafe fn from_mut_ptr<T>(
buffer: &mut BufferRef,
ptr: *mut Self::GstType,
) -> MetaRefMut<'a, Self, T> {
) -> MetaRefMut<Self, T> {
assert!(!ptr.is_null());
let meta_api = Self::get_meta_api();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment