dttMacro dtt_min
Source macro_rules! dtt_min {
($x:expr $(, $y:expr)*) => { ... };
}
Expand description
Returns the minimum of the given values.
§Arguments
$x:expr
: The first value to be compared.
$(, $y:expr)*
: Additional values to be compared.
§Example
use dtt::dtt_min;
assert_eq!(dtt_min!(10, 20, 30), 10);