Add support for list items with a line break before their contents.
This commit is contained in:
@@ -47,9 +47,7 @@ pub fn assert_bounds<'s, S: Source<'s>>(
|
||||
standard_properties
|
||||
.begin
|
||||
.ok_or("Token should have a begin.")?,
|
||||
standard_properties
|
||||
.end
|
||||
.ok_or("Token should have a begin.")?,
|
||||
standard_properties.end.ok_or("Token should have an end.")?,
|
||||
);
|
||||
let (rust_begin, rust_end) = get_offsets(source, rust);
|
||||
if (rust_begin + 1) != begin || (rust_end + 1) != end {
|
||||
|
||||
Reference in New Issue
Block a user