about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-10 01:08:05 +0000
committerbors <bors@rust-lang.org>2018-12-10 01:08:05 +0000
commite2c329c72c3d764423c3909c7483cf2fd6659626 (patch)
treec30353b85f87bf3d9f2bbe3f33665816ddc47e3e /src/libsyntax
parent9cb38a84e7d593106946cae8e25d9cdbf24751ee (diff)
parentcdc66334242dec2d30a17988ca8d150c65580620 (diff)
downloadrust-e2c329c72c3d764423c3909c7483cf2fd6659626.tar.gz
rust-e2c329c72c3d764423c3909c7483cf2fd6659626.zip
Auto merge of #56269 - nnethercote:_match-Matrix-SmallVec, r=simulacrum
Use a `SmallVec` within `_match::Matrix`.

This avoids allocations.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/Cargo.toml b/src/libsyntax/Cargo.toml
index 519cc7aa92c..fba2623e005 100644
--- a/src/libsyntax/Cargo.toml
+++ b/src/libsyntax/Cargo.toml
@@ -17,4 +17,4 @@ syntax_pos = { path = "../libsyntax_pos" }
 rustc_errors = { path = "../librustc_errors" }
 rustc_data_structures = { path = "../librustc_data_structures" }
 rustc_target = { path = "../librustc_target" }
-smallvec = { version = "0.6.5", features = ["union"] }
+smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }