Skip to content

Don't use unnecessary RefCell wrappers for FnMut callbacks

Sebastian Dröge requested to merge slomo/gstreamer-rs:fnmut-no-refcell into main

They don't add any safety as this is via unsafe code anyway and are not needed to get mutable references in this context anyway, while adding a bit of runtime overhead.

Merge request reports