]> git.lizzy.rs Git - rust.git/commitdiff
Removed fixed fixme
authorAndreas Liljeqvist <bonega@gmail.com>
Mon, 23 Aug 2021 11:56:28 +0000 (13:56 +0200)
committerAndreas Liljeqvist <bonega@gmail.com>
Mon, 23 Aug 2021 11:56:28 +0000 (13:56 +0200)
compiler/rustc_target/src/abi/mod.rs

index 07687a4b104cfb9b9605a6452a26e28728f726b4..b30111c6788f0efe2d5b6fd46f504c3c546937b3 100644 (file)
@@ -1011,9 +1011,6 @@ pub fn reserve<C: HasDataLayout>(&self, cx: &C, count: u128) -> Option<(u128, Sc
         let start = v.end.wrapping_add(1) & max_value;
         let end = v.end.wrapping_add(count) & max_value;
 
-        // If the `end` of our range is inside the valid range,
-        // then we ran out of invalid values.
-        // FIXME(eddyb) abstract this with a wraparound range type.
         if v.contains(end) {
             return None;
         }