`#[derive(Clone)]` or similar
Open
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 218
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 9
Description
#1236 adds Copy and Clone traits, and they're fairly important once we start being strict about borrowing.
Copy is just a marker, so `impl Copy for Foo {}` suffices. Implementing Clone is more annoying.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing issue #1236 and the existing Copy and Clone trait support. Locate the entry point for handling #[derive(Clone)] and determine how it should differ from `impl Copy for Foo {}`. Done means Clone derivation has a defined implementation and is validated for the borrowing rules described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100