|
VikingofRock posted:To be fair, macros much better in Rust than they are in languages like C++. IMO Rust macros are sort of like C++ templates, in that they are often ugly internally but allow for seemingly magic functions that "just do" whatever a user wants them to do. Why do you need the unwrap() at the end?
|
# ¿ May 17, 2015 05:00 |
|
|
# ¿ Apr 29, 2024 03:50 |
|
Ah, that attribute is a bit like Go's required-use returns then.
|
# ¿ May 17, 2015 06:05 |