Avril 4 years ago
parent 6a442e3483
commit 9a346f4d0c
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -2,12 +2,12 @@ use std::fmt;
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;
}
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;
}

@ -6,6 +6,7 @@
#[macro_use] extern crate cfg_if;
#[macro_use] extern crate ad_hoc_iter;
#[allow(unused_imports)]
use color_eyre::{
eyre::{
eyre,

Loading…
Cancel
Save