Skip to content

Panic on overflowing integer #12

Closed
@5225225

Description

@5225225

Reproduction code

fn main() {
    use sqlformat::*;

    format("?62666666121266666612", &QueryParams::None, FormatOptions::default());
}

Where it fails:

let index = token[1..].parse::<usize>().unwrap();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions