Albatta, bu erda Rustda amalga oshirish: ``` fn sort_ascending(arr: &mut [i32]) { arr.sort_unstable(); } fn main ((() { mut arr = [5, 2, 4, 1, 3]; sort_ascending(&mut arr); println!("{:?}", arr); } ``` Ushbu kod arrayni sort_unstable usuli yordamida joyida saralaydi. sort_unstable usuli bo'lakni joyida saralaydi va teng elementlar tartibini saqlay olmaydi.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence