INDAPlus21 / INDAPlus21/emilhul-task-2
Pass
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Very well done Emil!
Tips:
match min_dist {
1 => row.push('1'),
2 => row.push('2'),
3 => row.push('3'),
4 => row.push('4'),
5 => row.push('5'),
6 => row.push('6'),
7 => row.push('7'),
8 => row.push('8'),
9 => row.push('9'),
_ => row.push('.')
}
can be
row.push(
if min_dist < 10 {
std::char::from_digit(_min, 10).unwrap()
} else {
'.'
}
)
Contributor guide
No contributing guide indexed for this repository
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
The issue provides only a Rust snippet and does not name a file, test, or entry point. First locate the code that matches on min_dist, then confirm with the project’s available checks whether the suggested simplification preserves the existing output; completion criteria are not stated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100