Commit dcb50d97 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jonathan Corbet

Minor fixes to kernel-doc.rst

The author clearly meant to use the word 'which' here.  Also replace
some tabs with spaces which fixes the syntax highlighting in my editor.
Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent da70b8c4
...@@ -277,7 +277,7 @@ named ``Return``. ...@@ -277,7 +277,7 @@ named ``Return``.
#) If the descriptive text you provide has lines that begin with #) If the descriptive text you provide has lines that begin with
some phrase followed by a colon, each of those phrases will be taken some phrase followed by a colon, each of those phrases will be taken
as a new section heading, with probably won't produce the desired as a new section heading, which probably won't produce the desired
effect. effect.
Structure, union, and enumeration documentation Structure, union, and enumeration documentation
...@@ -324,22 +324,22 @@ It is possible to document nested structs unions, like:: ...@@ -324,22 +324,22 @@ It is possible to document nested structs unions, like::
struct { struct {
int arg1; int arg1;
int arg2; int arg2;
} }
struct { struct {
void *arg3; void *arg3;
int arg4; int arg4;
} }
} }
union { union {
struct { struct {
int arg1; int arg1;
int arg2; int arg2;
} st1; } st1;
struct { struct {
void *arg1; void *arg1;
int arg2; int arg2;
} st2; } st2;
} bar; } bar;
}; };
.. note:: .. note::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment