]> git.lizzy.rs Git - rust.git/commit
Minor changes in std::mem
authoraochagavia <aochagavia92@gmail.com>
Wed, 16 Apr 2014 08:53:09 +0000 (10:53 +0200)
committerAdolfo OchagavĂ­a <aochagavia92@gmail.com>
Sun, 20 Apr 2014 10:46:21 +0000 (12:46 +0200)
commite36adee3ae498cbf98e463f68372dca8ac8e20ac
treef2efea2453bebb29324d128ec06b7f2492a1e129
parentd35804ea5e69c9a3a8957626533a856f976fe4e3
Minor changes in std::mem

Fixed a typo in the documentation of std::mem, and refactored a function to use match instead of if.

Also added a FIXME to the benchmarks at the end of the file stating that they should be moved to another place, because they have nothing to do with `mem` (see https://github.com/mozilla/rust/issues/13642)
src/libstd/mem.rs