docs revsets.md: fixup 4d08c2c

This makes the examples in
https://martinvonz.github.io/jj/prerelease/revsets/#operators render
properly at the cost of worse (but readable) rendering on GitHub.

Also fixes a typo.
This commit is contained in:
Ilya Grigoriev 2024-06-17 17:10:23 -07:00
parent b8e921eeae
commit a6d470dbc3

View file

@ -78,8 +78,7 @@ only symbols.
You can use parentheses to control evaluation order, such as `(x & y) | z` or
`x & (y | z)`.
<details>
<summary>Examples:</summary>
??? examples
Given this history:
```
@ -136,7 +135,7 @@ o root()
`root()::``{D,C,B,A,root()}`
`::none()` ⇒ `{}` (empty set)
`none()::` ⇒ `{}` (empty set)
`(C|B)::``{D,C,B}`
@ -214,8 +213,6 @@ o root()
`(C|B)..(C|B)``{}` (empty set)
</details>
## Functions
You can also specify revisions by using functions. Some functions take other