rust-lang / rust-lang/rfcs

Document recommendation about Arc::clone(&ref) syntax.

Open
#2,740 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

See rust-lang/rust#63252 and rust-lang/rfcs#1954.

The official recommendation about cloning reference counted pointers should be added to the style guide since it is being pulled from the standard library documentation

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

Read the linked style guide and review rust-lang/rust#63252 and rust-lang/rfcs#1954 for the official recommendation about Arc::clone(&ref) syntax. Add that guidance to the style guide, with completion shown by the recommendation being clearly documented there.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.