Skip to content

Commit

Permalink
Remove unused lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Feb 20, 2023
1 parent f1f40ac commit 871c1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/interpret/allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl AllocRange {
// The constructors are all without extra; the extra gets added by a machine hook later.
impl<Prov: Provenance, Bytes: AllocBytes> Allocation<Prov, (), Bytes> {
/// Creates an allocation from an existing `Bytes` value - this is needed for miri FFI support
pub fn from_raw_bytes<'a>(
pub fn from_raw_bytes(
bytes: Bytes,
align: Align,
mutability: Mutability,
Expand Down

0 comments on commit 871c1de

Please sign in to comment.