You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indexing a container currently takes whitespace and comments into account. It shouldn't.
Thought: Perhaps we could have a wrapper type around usize called Exhaustive or Trivia that does include them when used as the index? People can just use nth() on the exhaustive iterator otherwise.
All the iterator code (in container.rs) may need a glance over actually; it's prototype quality and may be backwards.
The text was updated successfully, but these errors were encountered:
Indexing a container currently takes whitespace and comments into account. It shouldn't.
Thought: Perhaps we could have a wrapper type around usize called
Exhaustive
orTrivia
that does include them when used as the index? People can just usenth()
on the exhaustive iterator otherwise.All the iterator code (in
container.rs
) may need a glance over actually; it's prototype quality and may be backwards.The text was updated successfully, but these errors were encountered: