Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Range<T> is not Copy even if T is Copy, which pessimizes the implementation of Option<Range>::clone. Specialize Option::clone for Range so that it can be more efficient. The specialization uses ptr::read to emulate Copy.
- Loading branch information