rust/src/libstd
Mazdak Farrokhzad 5ea69781f4
Rollup merge of #67966 - popzxc:core-std-matches, r=Centril
Use matches macro in libcore and libstd

This PR replaces matches like

```rust
match var {
    value => true,
    _ => false,
}
```

with use of `matches!` macro.

r? @Centril
2020-01-09 00:22:10 +01:00
..
benches
collections Remove redundant link texts 2019-12-26 05:04:46 -08:00
ffi Remove insignificant notes from CStr documentation 2020-01-07 12:03:28 -08:00
io Use drop instead of the toilet closure |_| () 2020-01-02 08:56:12 +00:00
net Rollup merge of #67966 - popzxc:core-std-matches, r=Centril 2020-01-09 00:22:10 +01:00
os Add support for RISC-V 64-bit GNU/Linux 2020-01-01 09:52:18 +07:00
prelude
sync Use matches macro in libcore and libstd 2020-01-08 07:10:28 +03:00
sys Rollup merge of #67977 - Wind-River:master_2020, r=alexcrichton 2020-01-09 00:29:18 +09:00
sys_common Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton 2020-01-06 19:07:42 +00:00
tests Format the world 2019-12-22 17:42:47 -05:00
thread Add an unstable conversion from thread ID to u64 2020-01-06 10:56:13 -05:00
alloc.rs Format the world 2019-12-22 17:42:47 -05:00
ascii.rs
backtrace.rs
build.rs
Cargo.toml
env.rs Add support for RISC-V 64-bit GNU/Linux 2020-01-01 09:52:18 +07:00
error.rs Deprecate Error::description for real 2019-12-24 22:39:49 -08:00
f32.rs Remove negative number check from float sqrt 2020-01-04 23:44:19 +00:00
f64.rs Remove negative number check from float sqrt 2020-01-04 23:44:19 +00:00
fs.rs tidy: change msdn links to newer locations 2019-12-25 15:35:54 +00:00
future.rs Revert "core: add IntoFuture trait and support for await" 2019-12-31 19:18:08 -05:00
keyword_docs.rs Some keyword documentation. 2019-12-29 08:19:33 +00:00
lib.rs Rollup merge of #67137 - anp:tracked-panic-internals, r=eddyb 2020-01-04 23:52:44 +05:30
macros.rs core and std macros and panic internals use panic::Location::caller. 2020-01-04 10:02:17 -08:00
memchr.rs
num.rs
panic.rs
panicking.rs Clean up comments in panicking infra. 2020-01-04 10:02:17 -08:00
path.rs Use matches macro in libcore and libstd 2020-01-08 07:10:28 +03:00
primitive_docs.rs Format the world 2019-12-22 17:42:47 -05:00
process.rs
rt.rs
time.rs Add missing links for insecure_time 2019-12-31 17:14:49 +00:00