TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10346 943
Блог* Папищек подсказывает, что в std Rust предлагают добавить метод для работы с подобными случаями, и, более того, предложение ссылается на ту же статью
Сделали tracking issue и даже есть PR с реализацией (к сожалению, пока что более ограниченной, чем хотелось бы)
GitHub Tracking Issue for `Vec::recycle` · Issue #148227 · rust-lang/rust Feature gate: #![feature(vec_recycle)] This is a tracking issue for the Vec::recycle method, which allows reusing a Vec in a loop even if the lifetime unification would otherwise disallow it. Publi...
  • 😢 13
  • 🤔 1
More from @dereference_pointer_there
  1. Oct 16, 2026Тем временем разработчики на Go *tailscale
  2. Oct 16, 2026А всем остальным нам?!
  3. Oct 16, 2026#meme про сон
  4. Oct 15, 2026#prog #rust #suckassstory rustc uses the Path hash code to identify files, and the Path ha…
  5. Oct 15, 2026#python #meme
  6. Oct 14, 2026r/rust (потому что написано вроде на Tauri)
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →