Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0529-update-unicode-characters_to_list-spec-to-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0529-update-unicode-characters_to_list-spec-to-represent-.patch of Package erlang
From 0b7abe6c385c204539da4244b69e587aea7ed930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=B6scher?= <loscher@meta.com> Date: Thu, 6 Oct 2022 09:02:55 +0100 Subject: [PATCH] update unicode:characters_to_list spec to represent wording in the docs --- lib/stdlib/src/unicode.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/stdlib/src/unicode.erl b/lib/stdlib/src/unicode.erl index 20c92a1a4a..72532e02d6 100644 --- a/lib/stdlib/src/unicode.erl +++ b/lib/stdlib/src/unicode.erl @@ -91,9 +91,9 @@ characters_to_binary(_, _) -> -spec characters_to_list(Data, InEncoding) -> Result when Data :: latin1_chardata() | chardata() | external_chardata(), InEncoding :: encoding(), - Result :: list() - | {error, list(), RestData} - | {incomplete, list(), binary()}, + Result ::string() + | {error, string(), RestData} + | {incomplete, string(), binary()}, RestData :: latin1_chardata() | chardata() | external_chardata(). characters_to_list(_, _) -> @@ -103,9 +103,9 @@ characters_to_list(_, _) -> -spec characters_to_list(Data) -> Result when Data :: latin1_chardata() | chardata() | external_chardata(), - Result :: list() - | {error, list(), RestData} - | {incomplete, list(), binary()}, + Result :: string() + | {error, string(), RestData} + | {incomplete, string(), binary()}, RestData :: latin1_chardata() | chardata() | external_chardata(). characters_to_list(ML) -> -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor