Allow usage of const sized arrays
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
Currently the kernel macro disallowes the usage of something like [f32; 3] as a type, imo it should be allowed, since it can easily implement copy if the array value implements copy, hence it can be part of the method signature.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the kernel macro implementation and trace where method-signature types are validated. Check how existing type and Copy cases are tested, then add coverage for a const-sized array such as [f32; 3]. Done means the macro accepts the array when its element type supports Copy and preserves the method signature.
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
- Mostly clear
- Newbie friendliness
- 25/100