Function to_snake_case

Source
fn to_snake_case(s: &str) -> String
Expand description

We initially used the convert-case crate, but it converts names like “I32” to “i_32”, while we want to get “i32”. We thus reimplemented our own converter (which removes one dependency at the same time).