mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 00:20:52 -05:00
kernel-doc: Fix example in Nested structs/unions
Add missing ';' as well as fixes the indent for the first struct. Signed-off-by: Ben Widawsky <ben.widawsky@intel.com> Link: https://lore.kernel.org/r/20201207210027.1049346-1-ben.widawsky@intel.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
d151a23d7b
commit
9113584012
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue