musikr: remove explicit lifecycles now in ffi

This commit is contained in:
Alexander Capehart 2025-02-17 10:11:13 -07:00
parent c4f51b749a
commit 608082a49f
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ impl<'file_ref> MP4Tag<'file_ref> {
Self { this }
}
pub fn item_map<'slf>(&'slf self) -> ItemMap<'file_ref> {
pub fn item_map(&self) -> ItemMap<'file_ref> {
let map: &'file_ref CPPItemMap = self.this.pin().itemMap();
let map_this = unsafe { RefThis::new(map) };
ItemMap::new(map_this)

View file

@ -15,7 +15,7 @@ impl<'file_ref> XiphComment<'file_ref> {
Self { this }
}
pub fn field_list_map<'slf>(&'slf self) -> FieldListMap<'file_ref> {
pub fn field_list_map(&self) -> FieldListMap<'file_ref> {
let map: &'file_ref CPPFieldListMap = self.this.pin().fieldListMap();
let map_this = unsafe { RefThis::new(map) };
FieldListMap::new(map_this)