Re: [PATCH] coding style: Follow our own rule on comment style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 04, 2023 at 12:02:10 +0200, Michal Privoznik wrote:
> 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@xxxxxxxxxx>
> ---
>  docs/coding-style.rst | 76 +++++++++++++++++++++----------------------
>  1 file changed, 38 insertions(+), 38 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux