Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
0596-Remove-trailing-whitespaces.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0596-Remove-trailing-whitespaces.patch of Package erlang
From 99f09de78cd9825dba8de05ec684261f8050c274 Mon Sep 17 00:00:00 2001 From: Lars Thorsen <lars@erlang.org> Date: Wed, 10 Jun 2020 08:40:22 +0200 Subject: [PATCH 2/2] Remove trailing whitespaces --- lib/erl_docgen/src/docgen_edoc_xml_cb.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl index 675733c689..d5511eae9d 100644 --- a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl +++ b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl @@ -832,7 +832,7 @@ label_anchor(Content, E) -> {em, Content}]} end. -signature(Es, Name) -> +signature(Es, Name) -> [Name, "("] ++ seq(fun arg/1, Es) ++ [") -> term()", ?NL]. arg(#xmlElement{content = Es}) -> @@ -921,7 +921,7 @@ local_defs(Es) -> localdef(E = #xmlElement{content = Es}) -> Var = case get_elem(typevar, Es) of - [] -> + [] -> [label_anchor(t_abstype(get_content(abstype, Es)), E)]; [V] -> t_var(V) @@ -977,7 +977,7 @@ see(#xmlElement{content=Es0} = E) -> Href0 = get_attrval(href, E), {Href, Es} = otp_xmlify_a_href(Href0, Es0), [{seealso, [{marker, Href}], Es}]. - + equiv(Es) -> case get_content(equiv, Es) of [] -> ["\s"]; @@ -1240,7 +1240,7 @@ get_content(Name, Es) -> end. %% get_text(Tag, Es) -> string() -%% If there is one element in Es with name Tag, and its content is +%% If there is one element in Es with name Tag, and its content is %% a single xmlText, return the value of this xmlText. %% Otherwise return "". get_text(Name, Es) -> -- 2.26.2
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