mirror of
https://codeberg.org/takouhai/strongbad_email.git
synced 2024-12-03 10:10:35 -05:00
chore: run rustfmt
This commit is contained in:
parent
4783063d14
commit
d139cff249
1 changed files with 2 additions and 3 deletions
|
@ -17,8 +17,8 @@ struct Emails {
|
|||
|
||||
fn main() {
|
||||
let the_paper = include_str!("sbemails.toml");
|
||||
let sbemails: Sbemails = toml::from_str(the_paper)
|
||||
.expect("failed to deserialize sbemails.toml");
|
||||
let sbemails: Sbemails =
|
||||
toml::from_str(the_paper).expect("failed to deserialize sbemails.toml");
|
||||
let mut random_number = thread_rng();
|
||||
let sbemail = sbemails.emails.choose(&mut random_number).unwrap();
|
||||
println!("sbemail #{}: {}", sbemail.number, sbemail.title);
|
||||
|
@ -27,4 +27,3 @@ fn main() {
|
|||
println!("{}", part);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue