about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/back/bytecode.rs
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2018-10-06 11:50:34 +0200
committerljedrz <ljedrz@gmail.com>2018-11-10 19:25:23 +0100
commited5802c4d1fe396477ec149ef047223c86e9bb0b (patch)
tree5a8e0b30195fa67232125acf8ea2e45a9a3dbda6 /src/librustc_codegen_llvm/back/bytecode.rs
parent0195d9b95f0e96f391ea4ab271be6a9c1cf6b182 (diff)
downloadrust-ed5802c4d1fe396477ec149ef047223c86e9bb0b.tar.gz
rust-ed5802c4d1fe396477ec149ef047223c86e9bb0b.zip
codegen_llvm_back: remove 'static from consts
Diffstat (limited to 'src/librustc_codegen_llvm/back/bytecode.rs')
-rw-r--r--src/librustc_codegen_llvm/back/bytecode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/back/bytecode.rs b/src/librustc_codegen_llvm/back/bytecode.rs
index c6cb94a7e33..0b264de18c1 100644
--- a/src/librustc_codegen_llvm/back/bytecode.rs
+++ b/src/librustc_codegen_llvm/back/bytecode.rs
@@ -42,7 +42,7 @@ use flate2::write::DeflateEncoder;
 
 // This is the "magic number" expected at the beginning of a LLVM bytecode
 // object in an rlib.
-pub const RLIB_BYTECODE_OBJECT_MAGIC: &'static [u8] = b"RUST_OBJECT";
+pub const RLIB_BYTECODE_OBJECT_MAGIC: &[u8] = b"RUST_OBJECT";
 
 // The version number this compiler will write to bytecode objects in rlibs
 pub const RLIB_BYTECODE_OBJECT_VERSION: u8 = 2;