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

make `reserve` derive from `try_reserve`

クローズ
#646 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@bolshoytoster がすでに取り組んでいます。

2026年9月20日 から。

評価

この issue はまだ評価されていません。

説明

good first issue help wanted r-refactor

How come reserve wasn't just

pub fn reserve(&mut self, additional: usize) {
    infallibe(self.try_reserve(additional));
}

?

That's probably out of scope for this PR though.

Same with {,try_}reserve_exact

Originally posted by @bolshoytoster in https://github.com/servo/rust-smallvec/issues/624#issuecomment-5752375705

inherited technical debt @bolshoytoster

主要言語
Rust
スター
1.7k
フォーク
225
平均マージ
1日 2時間
マージ済み PR(30日)
66

環境構築

はじめの一歩

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

servo/rust-smallvec のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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