Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

README's decode example uses `?` on an error that does not convert to `termlens::Error`

Open Beginner friendly
#660 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

Read the Rust snippets at README.md:168 and README.md:207, then check how the README examples are handled by the CI snippet gate mentioned in the issue. Make both blocks compile as shown, and confirm both compile; adding a CI gate is suggested but is not required by the stated done criteria.

Written by the indexing model from the issue text.

Description

documentation good first issue

What happens. README.md:207 calls image.decode()? in a plain ```rust block, and README.md:168 uses Regex::new(…)? in a rust,ignore block. In a consumer with every feature on, both fail with E0277: "? couldn't convert the error to termlens::Error". The only From conversion into termlens::Error is from io::Error. A reviewer compiled both. Every other README snippet and table accessor compiles.

Fix. Make the snippets compile: either a Box<dyn Error> return type, or .expect(…) with what the test would say. Better still, compile README's Rust blocks in CI as the skill's are (see the snippet gate).

Done when both blocks compile as shown.

Dominant language
Rust
Stars
28
Forks
24
Avg merge
11h 23m
Merged PRs (30d)
42

Getting set up

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.

More from vyncint/termlens

All issues in vyncint/termlens

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.