You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
7: Exclusive should be a wrapper around a reference to the original reso… r=therealprof a=korken89
Exclusive should be a wrapper around a reference to the original resource. Else it becomes quite useless in conjunction with real resources.
This was noticed when moving RTFM to `mutex_trait`, see here: https://github.com/rtfm-rs/cortex-m-rtfm/blob/8073f648cfc967d9efbb2f936e3f0e10a580a64f/examples/generics.rs#L50
(this currently does not compile as we are not taking a reference to the original resource)
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
0 commit comments