about summary refs log tree commit diff
path: root/compiler/rustc_target
diff options
context:
space:
mode:
authorAndreas Liljeqvist <bonega@gmail.com>2021-08-23 13:56:28 +0200
committerAndreas Liljeqvist <bonega@gmail.com>2021-08-23 13:56:28 +0200
commit225a4bf9222dbef88dc6fbefe437602e55decf1b (patch)
treed039c5e7153e760d8c4c0b51befdcdbce508c5ce /compiler/rustc_target
parentc3fdefe14267e766e3a590fc5967168c5443c7ee (diff)
downloadrust-225a4bf9222dbef88dc6fbefe437602e55decf1b.tar.gz
rust-225a4bf9222dbef88dc6fbefe437602e55decf1b.zip
Removed fixed fixme
Diffstat (limited to 'compiler/rustc_target')
-rw-r--r--compiler/rustc_target/src/abi/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_target/src/abi/mod.rs b/compiler/rustc_target/src/abi/mod.rs
index 07687a4b104..b30111c6788 100644
--- a/compiler/rustc_target/src/abi/mod.rs
+++ b/compiler/rustc_target/src/abi/mod.rs
@@ -1011,9 +1011,6 @@ impl Niche {
         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;
         }