servo / servo/html5ever

Implement From<&str> for Tendril

Open
#676 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tendril
Dominant language
Rust
Stars
2.6k
Forks
288
Avg merge
2d 22h
Merged PRs (30d)
8

Description

Currently, the FromStr trait is implemented for Tendril, which needs to be removed and replaced with a From<&str> impl.

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 locating the existing FromStr implementation for Tendril and inspect nearby tests or usages. Replace that implementation with the requested From<&str> implementation, then run the project’s test suite to confirm parsing and conversion behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.