According to the documentation located at https://docs.rs/spin/0.12.1/spin/mutex/ :
The Mutex in the root of the crate, can be configured using the ticket_mutex feature. If it’s enabled, TicketMutex and TicketMutexGuard will be re-exported as Mutex and MutexGuard, otherwise the SpinMutex and guard will be re-exported.
However, this is not actually done. The re-export at the root is merely pub use mutex::MutexGuard; and, therefore, has a non-defaulted R type parameter.
Additionally, the links in https://docs.rs/spin/0.12.1/spin/mutex/struct.MutexGuard.html "For more info see..." are broken, because they are URLs for structs but the items linked are type aliases. This could be fixed by deleting the link definitions and using automatic intra-doc links.
According to the documentation located at <https://docs.rs/spin/0.12.1/spin/mutex/> :
> The Mutex in the root of the crate, can be configured using the ticket_mutex feature. If it’s enabled, TicketMutex and TicketMutexGuard will be re-exported as Mutex and MutexGuard, otherwise the SpinMutex and guard will be re-exported.
However, this is not actually done. The re-export at the root is merely `pub use mutex::MutexGuard;` and, therefore, has a non-defaulted `R` type parameter.
Additionally, the links in <https://docs.rs/spin/0.12.1/spin/mutex/struct.MutexGuard.html> "For more info see..." are broken, because they are URLs for `struct`s but the items linked are type aliases. This could be fixed by deleting the link definitions and using automatic intra-doc links.