rust/library
Tyler Ruckinger 4d1efb751a
OsStr eq_ignore_ascii_case takes arg by value
Per a comment on #70516 this changes `eq_ignore_ascii_case` to take the generic parameter `S: AsRef<OsStr>` by value instead of by reference.

This is technically a breaking change to an unstable method. I think the only way it would break is if you called this method with an explicit type parameter, ie `my_os_str.eq_ignore_ascii_case::<str>("foo")` becomes `my_os_str.eq_ignore_ascii_case::<&str>("foo")`.

Besides that, I believe it is overall more flexible since it can now take an owned `OsString` for example.

If this change should be made in some other PR (like #80193) then please just close this.
2021-02-03 10:28:51 -05:00
..
alloc Rollup merge of #81588 - xfix:delete-doc-alias, r=Mark-Simulacrum 2021-02-02 16:01:41 -05:00
backtrace@af078ecc0b
core Rollup merge of #81573 - ehuss:cell-links, r=jackh726 2021-02-03 08:41:24 +01:00
panic_abort
panic_unwind stabilize int_bits_const 2021-01-31 21:50:47 +10:00
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std OsStr eq_ignore_ascii_case takes arg by value 2021-02-03 10:28:51 -05:00
stdarch@9c732a56f6
term
test Rollup merge of #80053 - gilescope:include-ignore, r=m-ou-se 2021-01-31 01:47:22 +01:00
unwind Support AArch64 ILP32 in libunwind bindings 2021-01-27 22:47:57 +00:00