File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ provides:
26
26
of the string, but thereby also allows violation of the utf8 guarantee.
27
27
28
28
* A ` raw ` submodule with a number of free functions, like ` from_parts ` , that
29
- construct ` String ` instances from various raw-pointer-based representations,
30
- as well as a ` from_utf8 ` variant that does not actually check for utf8
31
- validity.
29
+ constructs a ` String ` instances from a raw-pointer-based representation, a
30
+ ` from_utf8 ` variant that does not actually check for utf8 validity, and so
31
+ on. The unifying theme is that all of these functions avoid checking some key
32
+ invariant.
32
33
33
34
The problem is that currently, there is no clear/consistent guideline about
34
35
which of these APIs should live as methods/static functions associated with a
You can’t perform that action at this time.
0 commit comments