Replace util `ToWide` and `FromWide` functions with wio functions
Open
Nobody has claimed this yet.
help wanted
maintenance
shell/win
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/xi-editor/druid/pull/165#discussion_r326274665 for context. This should allow us to write more idiomatic Rust code by avoiding mutability where it isn't necessary.
@raphlinus Hope that summarizes the intention. If there's anything I missed, please feel free to add. 😅
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
Search the repository for the util `ToWide` and `FromWide` functions and their call sites, then read the linked pull-request discussion for the intended `wio` replacements. Done means the old functions and their usages are replaced with the idiomatic `wio` functions without changing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100