]> git.lizzy.rs Git - rust.git/commit
Remove one level of indirection for slice-based PartialEq impls
authorBjörn Steinbrink <bsteinbr@gmail.com>
Thu, 1 Oct 2015 16:17:49 +0000 (18:17 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Thu, 1 Oct 2015 16:17:49 +0000 (18:17 +0200)
commit8a959ad4472ad472668696dcaf9dbb7b41e93eec
tree34972c9a44a588a28d05149d7f137cab834e23ee
parent24202c6431a29d18f58c6d7302d6a9095e218395
Remove one level of indirection for slice-based PartialEq impls

Using the comparison operators already refs the operands, so doing it
ourselves as well just adds an unnecessary level of indirection.
src/libcore/cmp_macros.rs