Initial commit
This commit is contained in:
5
crash_memory.aura
Normal file
5
crash_memory.aura
Normal file
@@ -0,0 +1,5 @@
|
||||
pure fn calculate_speed(distance: f32, time: f32) -> f32:
|
||||
let temp_dist = distance
|
||||
// CRASH: 'distance' was just moved to 'temp_dist'. We cannot use it again!
|
||||
let speed = distance / time
|
||||
return speed
|
||||
Reference in New Issue
Block a user