]> git.lizzy.rs Git - rust.git/commit
auto merge of #19360 : olivren/rust/master, r=Gankro
authorbors <bors@rust-lang.org>
Fri, 28 Nov 2014 07:31:26 +0000 (07:31 +0000)
committerbors <bors@rust-lang.org>
Fri, 28 Nov 2014 07:31:26 +0000 (07:31 +0000)
commit832dc619ec1dcaa929de3a4eec440dffd3bedd06
tree4606abe731b60f46da3eae745fb63e548a142196
parentdbbb722f253060401f672d590db544ac02b1c81e
parentf01cbaa0baf034850575f75b3724be207c56c41f
auto merge of #19360 : olivren/rust/master, r=Gankro

The previous code was giving an incorrect result (not x/3).

Also, this function does not work with signed integers. It now accepts `u32` instead of `i32`.