Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 871c1de

Browse files
committedFeb 20, 2023
Remove unused lifetime
1 parent f1f40ac commit 871c1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_middle/src/mir/interpret/allocation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl AllocRange {
271271
// The constructors are all without extra; the extra gets added by a machine hook later.
272272
impl<Prov: Provenance, Bytes: AllocBytes> Allocation<Prov, (), Bytes> {
273273
/// Creates an allocation from an existing `Bytes` value - this is needed for miri FFI support
274-
pub fn from_raw_bytes<'a>(
274+
pub fn from_raw_bytes(
275275
bytes: Bytes,
276276
align: Align,
277277
mutability: Mutability,

0 commit comments

Comments
 (0)
Please sign in to comment.