Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize
Rc::<str>::default()
implementation
This PR lets `impl Default for Rc<str>` re-use the implementation for `Rc::<[u8]>::default()`. The previous version only calculted the memory layout at runtime, even though it should be known at compile time, resulting in an additional function call. Resolves <#135784>.
- Loading branch information