提交 91135840 编写于 作者: B Ben Widawsky 提交者: Jonathan Corbet

kernel-doc: Fix example in Nested structs/unions

Add missing ';' as well as fixes the indent for the first struct.
Signed-off-by: NBen Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/20201207210027.1049346-1-ben.widawsky@intel.comSigned-off-by: NJonathan Corbet <corbet@lwn.net>
上级 d151a23d
......@@ -247,12 +247,12 @@ It is possible to document nested structs and unions, like::
struct {
int memb1;
int memb2;
}
};
struct {
void *memb3;
int memb4;
}
}
};
};
union {
struct {
int memb1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册