The &Option<T> in the library has been changed to Option<&T> similarly for mutable case for better memory management and general uniformity in the code base.
Changed the unnecessary match statements to if let syntax for better readability.
Removed unnecessary let _ = and making code more idiomatic.
Also changed unnecessary if let Some(_) pattern to is_some() function
Alert this is a breaking change
&Option<T>
in the library has been changed toOption<&T>
similarly for mutable case for better memory management and general uniformity in the code base.match
statements toif let
syntax for better readability.let _ =
and making code more idiomatic.if let Some(_)
pattern tois_some()
function