fix warnings
This commit is contained in:
		
							parent
							
								
									ed27e3d714
								
							
						
					
					
						commit
						07806529f9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -238,7 +238,7 @@ fn schema_subtypes(
 | 
			
		|||
    schema: &Schema,
 | 
			
		||||
    subtypes: &mut Vec<String>,
 | 
			
		||||
) -> eyre::Result<()> {
 | 
			
		||||
    let b = match schema {
 | 
			
		||||
    match schema {
 | 
			
		||||
        Schema {
 | 
			
		||||
            _type: Some(SchemaType::One(Primitive::Object)),
 | 
			
		||||
            ..
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
use crate::{openapi::*, schema_ref_type_name};
 | 
			
		||||
use eyre::{OptionExt, WrapErr};
 | 
			
		||||
use eyre::WrapErr;
 | 
			
		||||
use heck::{ToPascalCase, ToSnakeCase};
 | 
			
		||||
use std::fmt::Write;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue