Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return references as ref T if T isn't mutable
When exposing owned types as mutable (i.e. through an `fn mut` method), these values are instead exposed as immutable if they are a type parameter that doesn't allow mutations, instead of returning the raw type as-is. This fixes #642. Changelog: fixed
- Loading branch information