forked from dtolnay/reflect
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
I am trying to do this:
reflect::library! {
extern crate hashing {
type Hasher;
trait Hashable {
fn hash(&self, &mut impl Hasher);
}
macro write;
}
}
However, it will not accept the impl keyword. Is there any way to make it work, or do I have to use a type parameter instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels