Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Corelib
a
b
pub fn minmax, +Drop, +Copy>(a: T, b: T) -> (T, T)
use core::cmp::minmax; assert!(minmax(0, 1) == (0, 1)); assert!(minmax(1, 0) == (0, 1));
Was this page helpful?