結果 : rust take function as argument