|
|
@ -2,12 +2,12 @@ use std::fmt;
|
|
|
|
|
|
|
|
|
|
|
|
pub trait FlatJoinStrsExt: Sized
|
|
|
|
pub trait FlatJoinStrsExt: Sized
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/// Join an iterator of iterators `str` with a seperator
|
|
|
|
/// Join an iterator of iterators of strings with a seperator `str`
|
|
|
|
fn flat_join(self, with: &str) -> String;
|
|
|
|
fn flat_join(self, with: &str) -> String;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub trait JoinStrsExt: Sized
|
|
|
|
pub trait JoinStrsExt: Sized
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/// Join an iterator of `str` with a seperator
|
|
|
|
/// Join an iterator of strings with a seperator `str`.
|
|
|
|
fn join(self, with: &str) -> String;
|
|
|
|
fn join(self, with: &str) -> String;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|