about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorHans Kratz <hans@appfour.com>2021-08-09 15:42:37 +0000
committerHans Kratz <hans@appfour.com>2021-08-09 15:42:37 +0000
commit02295f464aaf78ece81a80e5b99a034119e74748 (patch)
tree211b39883e066ed18521fc97f517fc5d09b23926 /compiler/rustc_codegen_llvm/src/context.rs
parent1d4972e0e923bd5fffb11465373c824be109375f (diff)
downloadrust-02295f464aaf78ece81a80e5b99a034119e74748.tar.gz
rust-02295f464aaf78ece81a80e5b99a034119e74748.zip
Test: Use smallvec directly instead of boxed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs
index 225514ea863..5a8aa66c611 100644
--- a/compiler/rustc_codegen_llvm/src/context.rs
+++ b/compiler/rustc_codegen_llvm/src/context.rs
@@ -103,7 +103,7 @@ pub struct TypeLowering<'ll> {
 
     /// If padding is used the slice maps fields from source order
     /// to llvm order.
-    pub field_remapping: Option<Box<SmallVec<[u32; 4]>>>,
+    pub field_remapping: Option<SmallVec<[u32; 4]>>,
 }
 
 fn to_llvm_tls_model(tls_model: TlsModel) -> llvm::ThreadLocalMode {