aboutsummaryrefslogtreecommitdiff
path: root/crates/stdx
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-28 10:08:19 +0000
committerAleksey Kladov <[email protected]>2020-03-28 11:27:54 +0000
commit6596e7cddfc00281362c3640781f6cd6bc0b5614 (patch)
tree9a2b4f264e37dba87fa80d10ce5872090bcdbfef /crates/stdx
parentb764c38436fcb9426eb7da3be4f5fbcd63b316f5 (diff)
Nice string formatting
Diffstat (limited to 'crates/stdx')
-rw-r--r--crates/stdx/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/stdx/src/lib.rs b/crates/stdx/src/lib.rs
index a01ca6d4d..8492c17af 100644
--- a/crates/stdx/src/lib.rs
+++ b/crates/stdx/src/lib.rs
@@ -21,7 +21,7 @@ where
21 I: Iterator, 21 I: Iterator,
22 I::Item: fmt::Display, 22 I::Item: fmt::Display,
23{ 23{
24 fn sep_by<'a>(self, sep: &'a std::primitive::str) -> SepByBuilder<'a, Self> { 24 fn sep_by<'a>(self, sep: &'a str) -> SepByBuilder<'a, Self> {
25 SepByBuilder::new(sep, self) 25 SepByBuilder::new(sep, self)
26 } 26 }
27} 27}