It could be a pedantic lint (off by default).<p>There may be ways to lint in case of an `if x.len()... x[...]` though. That should be done monadically; given that panics aren&#x27;t supposed to be caught in most situations, we should minimize the number of ways programmer error can lead to a panic.<p>Looking through servo&#x27;s code a lot of the cases are where we use fixed-length arrays, or when dealing with graphicsy buffers. One use case which needs indexing is when we use an index as an &quot;id&quot;. No easy way to fix that without introducing Rc or something.