doc-guide: kernel-doc: fix example for inlined comments

Without ending with a ";", kernel-doc doesn't recognize it
as an struct, and it fails to parse the example.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Mauro Carvalho Chehab 2018-02-16 11:48:16 -02:00 committed by Jonathan Corbet
parent 3651d452fd
commit 6e96788bd8
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ on a line of their own, like all other kernel-doc comments::
int baz;
/** @foobar: Single line description. */
int foobar;
}
};
Nested structs/unions
~~~~~~~~~~~~~~~~~~~~~