Hi,
To call a macro we do
vec!
But https://github.com/rust-ndarray/ndarray/blob/master/src/arrayformat.rs#L74,
The format macro is called with out asterisk. How is this valid?
Hi,
To call a macro we do
vec!
But https://github.com/rust-ndarray/ndarray/blob/master/src/arrayformat.rs#L74,
The format macro is called with out asterisk. How is this valid?
That is not a macro call (you can tell because there is no !
). It is calling the function format
passed as one of the arguments of format_array
.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.