Skip to content

Commit 5b9a48d

Browse files
committed
Mention the usage in the standard library
1 parent 568ed6a commit 5b9a48d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

text/0000-rename-connect-to-join.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ all functional-ish languages.
4141
Note that Rust also has `.concat()` in `SliceConcatExt`, which is a specialized
4242
version of `.connect()` that uses an empty string as a separator.
4343

44+
Another reason is that the term "join" already has similar usage in the standard
45+
library. There are `std::path::Path::join` and `std::env::join_paths` which are
46+
used to join the paths.
47+
4448
# Detailed design
4549

4650
While the `SliceConcatExt` trait is unstable, the `.connect()` method itself is

0 commit comments

Comments
 (0)