diff options
Diffstat (limited to 'src/x509/mod.rs')
| -rw-r--r-- | src/x509/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509/mod.rs b/src/x509/mod.rs index 8c20ac8f..63be93ae 100644 --- a/src/x509/mod.rs +++ b/src/x509/mod.rs @@ -122,7 +122,7 @@ trait ToStr { impl<'a, T: AsStr<'a>> ToStr for Vec<T> { fn to_str(&self) -> String { self.iter().enumerate().fold(String::new(), |mut acc, (idx, v)| { - if idx > 0 { acc.push_char(',') }; + if idx > 0 { acc.push(',') }; acc.push_str(v.as_str()); acc }) |