Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

deprecate `as_slice` and `as_mut_slice`?

オープン
#736 コメント 4 件 リアクション 2 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Ankit-cs がすでに取り組んでいます。

2026年10月7日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

Start by reading the as_slice and as_mut_slice methods and the AsRef and AsMut implementations in the smallvec source. Check their call sites and tests to understand the impact of deprecating the methods; the issue is a request for comments, so the desired decision and what counts as done are not yet specified.

索引モデルが issue の本文から書いたものです。

説明

good first issue help wanted r-refactor

as_slice and as_mut_slice are accessors to the underlying slice represented by the smallvec

idiomatic rust consistently prefers trait implementations, such as AsRef and AsMut to be used over bespoke helper methods

since we only implement AsRef<[T]> and AsMut<[T]>, and not other reference-to-reference conversions, calling as_ref and as_mut on a smallvec is unambiguous

request for comments

主要言語
Rust
スター
1.8k
フォーク
229
平均マージ
1日 43分
マージ済み PR(30日)
65

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

servo/rust-smallvec のほかの issue

servo/rust-smallvec の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。