fix borrow checker error
This commit is contained in:
		
							parent
							
								
									412a9711d7
								
							
						
					
					
						commit
						400ad2ad5b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -165,7 +165,7 @@ pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> HttpResp
 | 
			
		|||
        })
 | 
			
		||||
        .0
 | 
			
		||||
        .clone();
 | 
			
		||||
    let reg = registration.clone().as_str();
 | 
			
		||||
    let reg = registration.clone();
 | 
			
		||||
    log::info!("{first} {last} signed up for camp!");
 | 
			
		||||
    let email = markup::new! {
 | 
			
		||||
        @markup::doctype()
 | 
			
		||||
| 
						 | 
				
			
			@ -282,7 +282,7 @@ pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> HttpResp
 | 
			
		|||
        log::info!("Email incorrect");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    match reg {
 | 
			
		||||
    match reg.as_str() {
 | 
			
		||||
        "now" => {
 | 
			
		||||
            log::info!("Sending them to pay for registration now");
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue