mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
autodoc: Fix rendering of function arguments named _
This commit is contained in:
parent
3180a371e8
commit
e9da87866c
@ -2375,6 +2375,9 @@ const NAV_MODES = {
|
||||
if (paramName != null) {
|
||||
// skip if it matches the type name
|
||||
if (!shouldSkipParamName(paramValue, paramName)) {
|
||||
if (paramName === "") {
|
||||
paramName = "_";
|
||||
}
|
||||
payloadHtml += paramName + ": ";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user