identifiers: Replace single-char push_str with just push
This commit is contained in:
parent
e7dde6850c
commit
03c636caf0
@ -21,7 +21,7 @@ impl DeviceKeyId {
|
|||||||
|
|
||||||
let mut res = String::with_capacity(algorithm.len() + 1 + device_id.len());
|
let mut res = String::with_capacity(algorithm.len() + 1 + device_id.len());
|
||||||
res.push_str(algorithm);
|
res.push_str(algorithm);
|
||||||
res.push_str(":");
|
res.push(':');
|
||||||
res.push_str(device_id);
|
res.push_str(device_id);
|
||||||
|
|
||||||
let colon_idx =
|
let colon_idx =
|
||||||
|
@ -18,7 +18,7 @@ impl ServerKeyId {
|
|||||||
|
|
||||||
let mut res = String::with_capacity(algorithm.len() + 1 + version.len());
|
let mut res = String::with_capacity(algorithm.len() + 1 + version.len());
|
||||||
res.push_str(algorithm);
|
res.push_str(algorithm);
|
||||||
res.push_str(":");
|
res.push(':');
|
||||||
res.push_str(version);
|
res.push_str(version);
|
||||||
|
|
||||||
let colon_idx =
|
let colon_idx =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user