[][src]Function iota_model::right_pad_string

pub fn right_pad_string(x: &mut String, len: usize, pad: char)

Right pads a string to a certain length in place

  • x - the string to be padded
  • len - the target length of the string
  • pad - the char to pad with