deprecate `as_slice` and `as_mut_slice`?
メンテナーはふだん 1 日以内に返信
@Ankit-cs がすでに取り組んでいます。
2026年10月7日 から。
評価
調査の方向性
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 の本文から書いたものです。
説明
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
servo/rust-smallvec のほかの issue
-
add `From<Box<[T]>, A> for SmallVec<T, N, A>` conversion対応中かも @Ankit-cs が 4 日前に担当しました。 オープンgood first issue help wanted r-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
servo/rust-smallvec#716 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Allocators are stable on nightly Rust対応中かも @GauravPawar101 が 9 日前に担当しました。 オープンgood first issue help wanted r-docs
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
servo/rust-smallvec#662 · コメント 3 件 · リアクション 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
re-implement may_dangle drop on `SmallVec`対応中かも @Chandana5599 が 2 日前に担当しました。 オープンgood first issue help wanted r-feature
servo/rust-smallvec#756 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
port #737 to v1対応中かも @Ankit-cs が 3 日前に担当しました。 オープンgood first issue help wanted r-fuzzing
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
servo/rust-smallvec#747 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`v1.16.3` release preparation対応中かも @alejandro-vaz が 5 日前に担当しました。 オープンr-policy
servo/rust-smallvec#743 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
servo/rust-smallvec の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
metasequoiaime/msime#7328 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-opensovd/classic-diagnostic-adapter#616 ·
メンテナーはふだん 2 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
track: content
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xAndersen/witness-log#10 ·
-
follow-up main-defect wave-A
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carrick-sh/carrick#249 ·
メンテナーはふだん 1 日以内に返信