rust-lang / rust-lang/rfcs

impl Default for Box<dyn Iterator<Item=T>> and potentially other dyn Traits

Open
#3,059 0 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-libs
Dominant language
Markdown
Stars
6.6k
Forks
1.7k
Avg merge
16h 14m
Merged PRs (30d)
1

Description

We feel like it would make sense to have a Default impl for some dyn Traits, such as dyn Iterator, where the default would always yield None.

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 by reading issue #3059 and the repository's RFC process; no source files or tests are identified in the payload. Determine the intended scope for Default on dyn Iterator and other dyn Traits, and consider the proposal complete only when its scope and resolution are agreed through the RFC process.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.