Closed craigschmidt closed 6 years ago
My Cargo.toml
looks like this:
[package]
name = "iterbug"
version = "0.1.0"
authors = ["Craig Schmidt <craig@craigschmidt.com>"]
[dependencies]
ropey = { git = "https://github.com/cessen/ropey", branch = "master" }
Thanks so much for the bug report! Looking into it now. :-)
Found the bug! Working on a fix now.
Thank you again! I really appreciate you taking the time to file such a thorough bug report.
Fixed in bc7f3a2a59c0587951861773bf71115eb9805403.
I'm new to rust, so sorry if I'm doing something dumb, but I'm seeing a weird bug. When iterating over a slice with
lines
, I get an extra empty line. If you make a new program with cargo like this, it fails. However, I added the same test to ropey as a test in the iter.rs file, and it passed. I don't understand how that can be.Thanks, Craig