Can someone have a look at the implementation of ? somehwere?
Can someone have a look at the implementation of ? somehwere?
I’m interested whether ? is implemented via a “macro_rules”-macro. I would like to know if it is possible to write a macro that matches on a more advanced pattern. Something like:
I’m interested whether ? is implemented via a “macro_rules”-macro. I would like to know if it is possible to write a macro that matches on a more advanced pattern. Something like:
macro_rules! try {
($var:ident = $expr:expr?; $($rest:expr);+) => …
}No any search results
You already invited:
2 Answers
Velma
Upvotes from:
Denis
Upvotes from: