Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
0484-Handle-functions-without-typespec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0484-Handle-functions-without-typespec.patch of Package erlang
From 05ccb67a2bb0a6a06ff70c44c0eb2b29b8933137 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" <paulo.ferraz.oliveira@gmail.com> Date: Sun, 10 Sep 2023 13:19:51 +0100 Subject: [PATCH 04/15] Handle functions without typespec e.g. fn() -> 'end'. --- lib/edoc/src/edoc_layout.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/edoc/src/edoc_layout.erl b/lib/edoc/src/edoc_layout.erl index fb5e9edf2e..e3984dee68 100644 --- a/lib/edoc/src/edoc_layout.erl +++ b/lib/edoc/src/edoc_layout.erl @@ -426,7 +426,7 @@ label_anchor(Content, E) -> %% This is currently only done for functions without type spec. signature(Es, Name) -> - [{tt, [Name, "("] ++ seq(fun arg/1, Es) ++ [") -> any()"]}]. + [{code, [Name, "("] ++ seq(fun arg/1, Es) ++ [") -> any()"]}]. arg(#xmlElement{content = Es}) -> [get_text(argName, Es)]. -- 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