about summary refs log tree commit diff
path: root/src/libnum/integer.rs
AgeCommit message (Collapse)AuthorLines
2014-09-22Fix deprecation warnings in check-docs.Victor Berger-0/+10
Fallout of closing #17185.
2014-09-17doc: Cleanup.Jonas Hietala-20/+20
Remove ~~~ for code block specification. Use /// Over /** */ for doc blocks.
2014-07-29Rename Integer trait `divides` to `is_multiple_of`.Jonas Hietala-16/+29
It is being changed because the previous wording was ambiguous. `a.divides(b)` implied `a % b == 0` but it sounds like the other way around. `9.divides(&3) == true` but we might read that as "does 9 divide 3?". It has been renamed to sidestep the ambiguity. Work around the change by using `is_multiple_of` instead. [breaking-change]
2014-07-16Examples for Integer trait methods.Jonas Hietala-18/+90
2014-06-09Moved integer trait and functions to submoduleAdolfo OchagavĂ­a-0/+411