Speykious / cve-rs

Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀
Other
3.72k stars 94 forks source link

Transmute should not require 'static bound #11

Closed LawrenceEsswood closed 4 months ago

LawrenceEsswood commented 4 months ago

I have types I need to safely transmute that are not static, can the bounds be removed (seems to work in my playground).

Creative0708 commented 4 months ago

Yep, they can; I guess they were originally there in the previous implementation of transmute and I forgot to remove them. Fixed in f67deb2dd0852149a999ab34debddff0349ef56e. Thanks for the report!