Skip to content

Commit 0aaddb3

Browse files
authoredSep 13, 2018
fix markdown table formatting
tables containing `|` are breaking github markdown formatter when they are not escaped.
1 parent f8032b2 commit 0aaddb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎Documentation/Index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ try db.transaction {
718718
| `<<=` | `Int -> Int` |
719719
| `>>=` | `Int -> Int` |
720720
| `&=` | `Int -> Int` |
721-
| `||=` | `Int -> Int` |
721+
| `\|\|=` | `Int -> Int` |
722722
| `^=` | `Int -> Int` |
723723
| `+=` | `String -> String` |
724724

@@ -954,7 +954,7 @@ equate or compare different types will prevent compilation.
954954
| `<=` | `Comparable -> Bool` | `<=` |
955955
| `~=` | `(Interval, Comparable) -> Bool` | `BETWEEN` |
956956
| `&&` | `Bool -> Bool` | `AND` |
957-
| `||` | `Bool -> Bool` | `OR` |
957+
| `\|\|`| `Bool -> Bool` | `OR` |
958958

959959
> *When comparing against `nil`, SQLite.swift will use `IS` and `IS NOT`
960960
> accordingly.
@@ -1586,8 +1586,8 @@ arithmetic, bitwise operations, and concatenation.
15861586
| `<<` | `Int -> Int` | `<<` |
15871587
| `>>` | `Int -> Int` | `>>` |
15881588
| `&` | `Int -> Int` | `&` |
1589-
| `|` | `Int -> Int` | `|` |
1590-
| `+` | `String -> String` | `||` |
1589+
| `\|` | `Int -> Int` | `\|` |
1590+
| `+` | `String -> String` | `\|\|` |
15911591

15921592
> _Note:_ SQLite.swift also defines a bitwise XOR operator, `^`, which
15931593
> expands the expression `lhs ^ rhs` to `~(lhs & rhs) & (lhs | rhs)`.

0 commit comments

Comments
 (0)
Please sign in to comment.