You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You answered that question. I am having similar issues getting a macro to work. Specifically I would like to use the gen_range method from the rand crate. I am in the processof following your advice, putting together all the pieces to see if I can make it work.
Would it be interesting to include an example of a macro that uses an external crate in the little book of rust macros?
The text was updated successfully, but these errors were encountered:
Seems like a good idea for the import/export section. One thing I'm a little leery about, however, is that I've started getting "this will be a hard error in future" warnings on the trick I use to do this... so I'll need to sort out what's going on first.
In the Rust Community forum there is a question on how to make a external crate work in a macro.
You answered that question. I am having similar issues getting a macro to work. Specifically I would like to use the
gen_range
method from therand
crate. I am in the processof following your advice, putting together all the pieces to see if I can make it work.Would it be interesting to include an example of a macro that uses an external crate in the little book of rust macros?
The text was updated successfully, but these errors were encountered: