easy-ext
easy-ext copied to clipboard
Inner doc comments cause compile failure
For instance, the following toy example fails to compile, producing "error: expected ["
use easy_ext::ext;
#[ext] impl i32 {
//! Square the number
fn square(self) -> Self {
self * self
}
}
Tested with easy-ext 1.0.2 on rust 1.82.0.