mirror of
				https://github.com/serde-rs/serde.git
				synced 2025-11-03 23:13:52 +00:00 
			
		
		
		
	Merge pull request #1175 from daboross/fix-borrowed-cow-bytes
Fix borrowed Cow<'_, [u8]> deserializing as str.
This commit is contained in:
		
						commit
						a7a7a31809
					
				@ -188,7 +188,7 @@ where
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    deserializer.deserialize_str(CowBytesVisitor)
 | 
					    deserializer.deserialize_bytes(CowBytesVisitor)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub mod size_hint {
 | 
					pub mod size_hint {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user