]> git.ipfire.org Git - thirdparty/libvirt.git/commit
coding style: Follow our own rule on comment style
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Apr 2023 09:56:31 +0000 (11:56 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Apr 2023 10:16:09 +0000 (12:16 +0200)
commita56833e47a76e406c62ea0531a99ca199ad5b00a
tree61bed42bde78a979df20d5e60f9ef068775a7a77
parent641d2725735bc0fc1c06ca7ff61e312fe4889881
coding style: Follow our own rule on comment style

In our coding style document we have examples of good and bad
code, which we mark as:

  // Good
  // Bad

respectively. But in the very same document we advocate for using
C style of comments over C++. Follow our own advice and switch
annotation to:

  /* Good */
  /* Bad */

And while at it, align these annotations within their blocks for
better readability.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
docs/coding-style.rst