re-implement may_dangle drop on `SmallVec`
维护者通常 1 天内回复
@Chandana5599 已经在做这个了。
开始于 2026年10月9日。
评估
这个 Issue 还没有评估数据。
描述
@bolshoytoster we earlier removed the maydangle feature altogether because we thought it was useless and the use case was obscure
it wasn't that obscure
use smallvec::SmallVec; // 2.0.0-beta.2
#[derive(Default)]
struct MyData<'a>{
arr: SmallVec<&'a u8, 5>,
dat: u8
}
fn main(){
let mut dat = MyData::default();
dat.arr.push(&dat.dat);
}
we should probably re-implement it behind the feature gate
- 主要语言
- Rust
- 星标
- 1.8k
- 派生
- 229
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 64
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
servo/rust-smallvec 的其他 Issue
-
add `From<Box<[T]>, A> for SmallVec<T, N, A>` conversion可能已有人在做 @Ankit-cs 于 5 天前认领。 未关闭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 于 10 天前认领。 未关闭good first issue help wanted r-docs
难度 1/5 1 小时以内 新手友好度 70/100
servo/rust-smallvec#662 · 3 条评论 · 3 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
port #737 to v1可能已有人在做 @Ankit-cs 于 4 天前认领。 未关闭good first issue help wanted r-fuzzing
难度 3/5 1-2 天 新手友好度 52/100
servo/rust-smallvec#747 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
deprecate `as_slice` and `as_mut_slice`?可能已有人在做 @Ankit-cs 于 5 天前认领。 未关闭good first issue help wanted r-refactor
难度 5/5 一周以上 新手友好度 35/100
servo/rust-smallvec#736 · 4 条评论 · 2 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
rename lifetimes to be descriptive可能已有人在做 @Ankit-cs 于 5 天前认领。 未关闭good first issue help wanted r-refactor
难度 3/5 1-2 天 新手友好度 55/100
servo/rust-smallvec#735 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 servo/rust-smallvec 的全部 Issue
相似的 Issue
-
ai_p2
难度 2/5 1-3 小时 新手友好度 68/100
ClickHouse/ClickHouse#125522 ·
维护者通常 1 天内回复
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter served可能已有人在做 @Mrun25 今天认领。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 75/100
BerriAI/litellm#46095 · 1 条评论 ·
维护者通常 1 天内回复
-
bug effort:low flow:bug
难度 2/5 1-3 小时 新手友好度 74/100
jaroslawherod/micold-ai-ide#788 ·
维护者通常 1 天内回复
-
Docs: refresh target-app-parity and file-format-parity against main可能已有人在做 @vangel76 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
storytold/photocraft#4417 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
bevyengine/dlss_wgpu#37 ·