updated struct name to compile on nightly rust

the `CharOffsets` was renamed here https://github.com/rust-lang/rust/commit/4908017d59da8694b9ceaf743baf1163c1e19086