mirror of
				https://codeberg.org/takouhai/strongbad_email.git
				synced 2025-10-31 03:38:42 -04: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…
	
	Add table
		
		Reference in a new issue