core::ops::Fn not available in no_std project
⚓ Rust 📅 2025-09-24 👤 surdeus 👁️ 8Hi,
I am working on an no_std library, and I want to use the Fn trait (or FnOnce/FnMut) of core::ops but the compiler can't find it.
It looks like there is the rust1 feature to activate but I can't find a way to activate it.
Is there a way to do it ? Is there a reason as for why I can't access it ?
4 posts - 3 participants
🏷️ Rust_feed