]>
git.proxmox.com Git - proxmox-backup.git/blob - pbs-tools/src/str.rs
1 //! String related utilities.
3 use std
::borrow
::Borrow
;
5 pub fn join
<S
: Borrow
<str>>(data
: &[S
], sep
: char) -> String
{
6 let mut list
= String
::new();
12 list
.push_str(item
.borrow());