Function okapi::merge::merge_opt_string

source ·
pub fn merge_opt_string(s1: &mut Option<String>, s2: &Option<String>)
Expand description

Merge Option<String>/&Option<String>:

  • If one is None: Use other
  • If both are Some: Merge String
  • Otherwise: Use first value