Skip to content

Commit

Permalink
style guide fixed (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-henz authored Sep 9, 2023
1 parent ae195ec commit 2da5bd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/specs/source_styleguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ \section*{Conditional Statements}

\section*{Conditional expressions}

The consequent and alternative expressions of conditional expressions are either
in the same line as the predicate (if they fit),
The consequent and alternative expressions of conditional expressions
are either in the same line as the predicate (if they fit),
or they are aligned under the beginning of the predicate.
Examples:
\begin{lstlisting}
Expand Down Expand Up @@ -205,6 +205,7 @@ \section*{Conditional expressions}
: y === 1
? 2
: A(x - 1, A(x, y - 1));
}

// bad style: line too long
function A(x,y) {
Expand Down

0 comments on commit 2da5bd6

Please sign in to comment.