paritytech / paritytech/parity-scale-codec

Implement `Decode` for `Box<T> where T: ?Sized`

Open
#564 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
287
Forks
103
Avg merge
6d 13h
Merged PRs (30d)
1

Description

Why isn't Decode implemented for these types? The 2 obvious examples are Box<str> and Box<[T]>

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

No files or tests are named. Start by locating the existing Decode implementation for Box and the definitions of the Decode trait; determine how unsized Box and Box<[T]> should be handled. Done means both examples support decoding with appropriate tests and no regression to sized Box.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.