-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_section_by_name requres a String instead of an &str #6
Comments
Curse of me starting this crate when I was new to Rust, literally like confusing |
This actually made me realize there's a bug here, so this might take a little longer to come out-- there's a possibility that a section name can not be a valid UTF8 string, and so the Anyway, I've started work on this, I'll update you when I get this bug fixed! |
Okay, this issue plus the issue this uncovered have been fixed as of this commit: 02527d9. This will be officially released in 0.5.5. Thanks again for reporting! |
This is live in 0.5.6 (not 0.5.5, no idea what release that was). Thanks again! |
Taking an &str would be nicer here and it looks like it's fine since it immediately gets converted to one.
The text was updated successfully, but these errors were encountered: