the description of what byUTF returns is more clear

This commit is contained in:
vladchicos 2021-08-02 19:22:47 +03:00
parent 5d7d9a1d9f
commit cd9fd4edb8

View file

@ -4278,9 +4278,10 @@ private int impureVariable;
* Does not use GC if `useReplacementDchar` is set to `UseReplacementDchar.no` * Does not use GC if `useReplacementDchar` is set to `UseReplacementDchar.no`
* *
* Returns: * Returns:
* A bidirectional range if `R` is a range and not auto-decodable, as defined by * A bidirectional range if `R` is a bidirectional range and not auto-decodable,
* $(REF isAutodecodableString, std, traits), and if the base range is * as defined by $(REF isAutodecodableString, std, traits).
* also a bidirectional range. *
* A forward range if `R` is a forward range and not auto-decodable.
* *
* Or, if `R` is a range and it is auto-decodable and * Or, if `R` is a range and it is auto-decodable and
* `is(ElementEncodingType!typeof(r) == C)`, then the range is passed * `is(ElementEncodingType!typeof(r) == C)`, then the range is passed