RosettaCodeData/Task/Generic-swap/Sidef/generic-swap-2.sidef

4 lines
53 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
func swap(Ref a, Ref b) {
(*a, *b) = (*b, *a);
}