generated from Astrial.org/template
	style: run fmter
This commit is contained in:
		
							parent
							
								
									df62daaea5
								
							
						
					
					
						commit
						980be5730c
					
				
					 3 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/// Print a message to stderr and exit with status code 1 to avoid using 
 | 
			
		||||
/// Print a message to stderr and exit with status code 1 to avoid using
 | 
			
		||||
/// .expect() or .unwrap()
 | 
			
		||||
///
 | 
			
		||||
/// Arguments are passed to `format!` to format the message
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,8 +66,7 @@ fn main() {
 | 
			
		|||
            let month_name = time.datetime.format("%B").to_string();
 | 
			
		||||
            let day_ordinal = util::ordinal(time.datetime.day());
 | 
			
		||||
 | 
			
		||||
            let inventory =
 | 
			
		||||
                Inventory::take(&config).unwrap_or_fatal("Failed to take inventory");
 | 
			
		||||
            let inventory = Inventory::take(&config).unwrap_or_fatal("Failed to take inventory");
 | 
			
		||||
 | 
			
		||||
            println!("*** Inventory ***");
 | 
			
		||||
            println!(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
use diaryrs::{macros::UnwrapOrFatalAble};
 | 
			
		||||
use diaryrs::macros::UnwrapOrFatalAble;
 | 
			
		||||
use regex::Regex;
 | 
			
		||||
 | 
			
		||||
use crate::args::Config;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue