Skip to content

Commit c91a704

Browse files
committed
fixed range warning
1 parent 98e4b68 commit c91a704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/maps/on_disk_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<'a> CacheDecoder<'a> {
165165
fn find_filemap_prev_bytepos(&self,
166166
prev_bytepos: BytePos)
167167
-> Option<(BytePos, StableFilemapId)> {
168-
for (start, id) in self.prev_filemap_starts.range(BytePos(0) ... prev_bytepos).rev() {
168+
for (start, id) in self.prev_filemap_starts.range(BytePos(0) ..= prev_bytepos).rev() {
169169
return Some((*start, *id))
170170
}
171171

0 commit comments

Comments
 (0)