結果 : rust accept function as argument