Klaymore@sh.itjust.works to Programmer Humor@programming.devEnglish · 5 months agoHappens all the timesh.itjust.worksimagemessage-square12fedilinkarrow-up1395arrow-down15
arrow-up1390arrow-down1imageHappens all the timesh.itjust.worksKlaymore@sh.itjust.works to Programmer Humor@programming.devEnglish · 5 months agomessage-square12fedilink
minus-squaretrxxruraxvr@lemmy.worldlinkfedilinkarrow-up14arrow-down2·5 months agoHeight should be a float
minus-squareSatouKazuma@programming.devlinkfedilinkarrow-up1·5 months agoBut then wouldn’t it be fly(height: f64) instead of jump(height: i32)?
Height should be a float
It’s height in centimeters
deleted by creator
Chad quantised rust
But then wouldn’t it be
fly(height: f64)
instead ofjump(height: i32)
?Never use floats.