Created
November 25, 2018 16:59
-
-
Save AlbanMinassian/320cd39edd5a7a553f2df157e9cc35b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate iso639_1; | |
use iso639_1::{Iso639_1, get_enum, get_code_iso639_3}; | |
pub fn main() { | |
println!("{:?}", Iso639_1::En); | |
println!("{:?}", get_enum("it")); | |
println!("{:?}", get_code_iso639_3("fr")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment