SoftbearStudios / SoftbearStudios/bitcode

req: Encode/Decode for std::ops::Bound<T>

Open Beginner friendly
#122 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
671
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Useful for passing range mechanics around.

Low priority, but possibly low hanging fruit as well (it was easy to one-off it).

https://github.com/rust-lang/rust/blob/bf063f193b6fa5d0501884ffad75952ddf7e7b3c/library/core/src/ops/range.rs#L704

Contributor guide

No contributing guide indexed for this repository

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

Start with the referenced Rust range.rs definition of std::ops::Bound, then inspect the repository's existing Encode and Decode implementations for similar types. Add support for encoding and decoding Bound, and verify that range-bound values round-trip correctly through the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.