Skip to main content

is_safe_widening

Function is_safe_widening 

Source
pub fn is_safe_widening(from: &DataType, to: &DataType) -> bool
Expand description

Returns true if from can be safely widened to to without data loss.