Skip to content

Commit f52791a

Browse files
committed
Remove len
1 parent 572afe8 commit f52791a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_span/src/span_encoding.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ impl Span {
281281
}
282282
}
283283

284-
#[inline]
285-
pub fn len(self) -> u32 {
286-
(self.len_with_tag_or_marker & !PARENT_TAG) as u32
287-
}
288-
289284
#[inline]
290285
pub fn index(self) -> u32 {
291286
self.lo_or_index

0 commit comments

Comments
 (0)