diff options
| author | Ralf Jung <post@ralfj.de> | 2020-02-23 22:39:57 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-02-23 22:39:57 +0100 |
| commit | 9b62d60db18415caf3460b894e4f43f51da4f645 (patch) | |
| tree | 848586a98855c76644bf6c620dcab404d417118f | |
| parent | 01d932934748ef5c412c11a2ace18a504a7cb949 (diff) | |
| download | rust-9b62d60db18415caf3460b894e4f43f51da4f645.tar.gz rust-9b62d60db18415caf3460b894e4f43f51da4f645.zip | |
fmt
| -rw-r--r-- | src/librustc_mir/interpret/machine.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustc_mir/interpret/machine.rs b/src/librustc_mir/interpret/machine.rs index 11d28ec582a..69c9664b351 100644 --- a/src/librustc_mir/interpret/machine.rs +++ b/src/librustc_mir/interpret/machine.rs @@ -219,10 +219,7 @@ pub trait Machine<'mir, 'tcx>: Sized { /// /// This function must be idempotent. #[inline] - fn canonical_alloc_id( - _mem: &Memory<'mir, 'tcx, Self>, - id: AllocId, - ) -> AllocId { + fn canonical_alloc_id(_mem: &Memory<'mir, 'tcx, Self>, id: AllocId) -> AllocId { id } |
