spelling and clippy
This commit is contained in:
		@@ -98,7 +98,7 @@ impl Website {
 | 
				
			|||||||
            .await
 | 
					            .await
 | 
				
			||||||
            .expect("Failed to check surreal for duplicates!");
 | 
					            .expect("Failed to check surreal for duplicates!");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if let Some(old) = response.take::<Option<Website>>(0).expect("Failed to read reponse from surreal for duplicates.") {
 | 
					        if let Some(old) = response.take::<Option<Website>>(0).expect("Failed to read response from surreal for duplicates.") {
 | 
				
			||||||
            // site exists already
 | 
					            // site exists already
 | 
				
			||||||
            if let Some(id) = old.id {
 | 
					            if let Some(id) = old.id {
 | 
				
			||||||
                // make sure to preserve the "crawled status"
 | 
					                // make sure to preserve the "crawled status"
 | 
				
			||||||
@@ -119,7 +119,7 @@ impl Website {
 | 
				
			|||||||
                                match error {
 | 
					                                match error {
 | 
				
			||||||
                                    Db::QueryCancelled => todo!(),
 | 
					                                    Db::QueryCancelled => todo!(),
 | 
				
			||||||
                                    Db::QueryNotExecuted => todo!(),
 | 
					                                    Db::QueryNotExecuted => todo!(),
 | 
				
			||||||
                                    Db::QueryNotExecutedDetail { message } => todo!(),
 | 
					                                    Db::QueryNotExecutedDetail { message: _ } => todo!(),
 | 
				
			||||||
                                   _=>{},
 | 
					                                   _=>{},
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            },
 | 
					                            },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user