結果 : define function inside function rust