adambard/learnxinyminutes-docs
View on GitHub[rust/en] Include examples about functions and methods with lifetimes.
Open
#2711 opened on Apr 24, 2017
0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript10,755 stars (10,755 stars)3,235 forks (3,235 forks)batch import
help wanted
Description
Contributor guide
- Tech stack
- rust
- Domain
- documentation
- Issue type
- documentation
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- basic Rust syntaxunderstanding of lifetimes
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- The issue requests adding examples of functions and methods with lifetimes to the Rust documentation in the learnxinyminutes docs repo. Start by locating the existing Rust file (typically `rust.html.markdown` or similar) in the repository. Review the current content to understand the structure and place new examples after existing function/method sections. Refer to the Rust book chapter on lifetimes (https://doc.rust lang.org/book/lifetimes.html) for accurate examples. Ensure the examples are concise and annotated with comments explaining lifetime annotations.