linebender / linebender/druid

Replace util `ToWide` and `FromWide` functions with wio functions

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.