]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35800 - matthew-piziak:mul-div-examples, r=steveklabnik
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Sat, 20 Aug 2016 14:09:35 +0000 (07:09 -0700)
committerGitHub <noreply@github.com>
Sat, 20 Aug 2016 14:09:35 +0000 (07:09 -0700)
commita36ff81753165b41eef78fccbde4ea11e2a32d7b
tree63be5c1e97cb7fc1480aa99017db5bbf20d823ff
parentad17e0c277b74a33aa8a20f4e66627260bc87232
parent9563f14eb5d77d992f7cde5db227f8c83351427b
Rollup merge of #35800 - matthew-piziak:mul-div-examples, r=steveklabnik

demonstrate `RHS != Self` use cases for `Mul` and `Div`

Vector-scalar multipication is a good usecase for this. Thanks #rust!
src/libcore/ops.rs