Skip to content

Commit 8ea9616

Browse files
killerswanmarijnh
authored andcommitted
(core::str) make len an alias for len_bytes ++
1 parent 669ff69 commit 8ea9616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export
8585
is_empty,
8686
is_not_empty,
8787
is_whitespace,
88-
len_bytes,
89-
len_chars, //len,
88+
len, len_bytes,
89+
len_chars,
9090

9191
// Misc
9292
// FIXME: perhaps some more of this section shouldn't be exported?

0 commit comments

Comments
 (0)