Update mod.rs

float has been removed from the language.
Merge pull request #1 from ckarmann/patch-1

Update documentation of mod.rs