make `reserve` derive from `try_reserve`
维护者通常 1 天内回复
@bolshoytoster 已经在做这个了。
开始于 2026年9月20日。
评估
这个 Issue 还没有评估数据。
描述
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 天 1 小时
- 30 天内合并 PR
- 64
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
servo/rust-smallvec 的其他 Issue
-
good first issue help wanted r-feature
难度 2/5 1-3 小时 新手友好度 84/100
servo/rust-smallvec#716 ·
维护者通常 1 天内回复
-
correct `From<SmallVec<T, N, A>> for Box<[T]>` implementation可能已有人在做 @HarshRajSinghania 于 1 天前认领。 未关闭good first issue help wanted r-feature
难度 2/5 1-3 小时 新手友好度 75/100
servo/rust-smallvec#714 ·
维护者通常 1 天内回复
-
good first issue help wanted r-refactor
难度 2/5 1-3 小时 新手友好度 85/100
servo/rust-smallvec#712 · 1 条评论 ·
维护者通常 1 天内回复
-
allocator expansion for `From<Vec<T>>` to `From<Vec<T, A>>`可能已有人在做 @bolshoytoster 于 1 天前认领。 未关闭good first issue help wanted r-feature
难度 2/5 1-3 小时 新手友好度 78/100
servo/rust-smallvec#702 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Allocators are stable on nightly Rust可能已有人在做 @GauravPawar101 于 3 天前认领。 未关闭good first issue help wanted r-docs
难度 1/5 1 小时以内 新手友好度 70/100
servo/rust-smallvec#662 · 3 条评论 · 3 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
查看 servo/rust-smallvec 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug llm translation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)可能已有人在做 @zjncs 今天认领。 未关闭component:skillfs
难度 2/5 1-3 小时 新手友好度 82/100
agentic-os-org/ANOLISA#6116 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
indygreg/cryptography-rs#99 ·