mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Handle the case when there is no placeholder
This commit is contained in:
		| @@ -48,7 +48,7 @@ fn try_bind(input: TokenStream) -> Result<TokenStream> { | ||||
|         return Err(err.to_string()); | ||||
|     } | ||||
|     if info.count == 0 { | ||||
|         return Ok(input); | ||||
|         return Ok(TokenStream::new()); | ||||
|     } | ||||
|     if info.count as usize != info.names.len() { | ||||
|         return Err("Mixing named and numbered parameters is not supported.".to_string()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user