]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #61654 - Electron-libre:use_slice_patterns_in_rustc, r=oli-obk,Centril
authorMazdak Farrokhzad <twingoow@gmail.com>
Wed, 12 Jun 2019 02:22:50 +0000 (04:22 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 02:22:50 +0000 (04:22 +0200)
commit9f22708ceda552784a42253523335533423f2b95
tree06da68ad78df47d86d27bbbd21dc45383fb57971
parent6933034a40aadc0e04a594789e7ad4b2034e9b17
parent0a4504d400805b2d102a433af98cc33f185fdcf2
Rollup merge of #61654 - Electron-libre:use_slice_patterns_in_rustc, r=oli-obk,Centril

use pattern matching for slices destructuring

refs #61542

Use slices pattern where it seems to make sense .
src/libsyntax/parse/mod.rs