]> git.lizzy.rs Git - rust.git/commit
Revert signature of eq_ignore_ascii_case() to original
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>
Thu, 28 Sep 2017 14:41:21 +0000 (16:41 +0200)
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>
Fri, 3 Nov 2017 20:27:40 +0000 (21:27 +0100)
commit5061c9fecb995bf1920bcb546cd522fe9a84dd3e
treecc17aa28b15d328e7181227aba604df33131ca45
parent04070d11485463f55edcf9cd37b443ebffe320e8
Revert signature of eq_ignore_ascii_case() to original

Since the methods on u8 directly will shadow the AsciiExt methods,
we cannot change the signature without breaking everything. It
would have been nice to take `u8` as argument instead of `&u8`, but
we cannot break stuff! So this commit reverts it to the original
`&u8` version.
src/libcore/num/mod.rs
src/libstd/ascii.rs