Skip to content

Commit a9a8b1e

Browse files
committed
typos and markdown fixes
1 parent d312074 commit a9a8b1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/bevy_ecs/src/schedule/condition.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,9 +1428,9 @@ mod tests {
14281428
}
14291429

14301430
// `test_true` and `test_false` can't fail like the systems can, and so
1431-
// we use them to model the short circuiting behaviour of rust's logical
1431+
// we use them to model the short circuiting behavior of rust's logical
14321432
// operators. The goal is to end up with a composite number that
1433-
// describes rust's behaviour and compare that to the result of the
1433+
// describes rust's behavior and compare that to the result of the
14341434
// combinators.
14351435

14361436
// we expect `true() || false()` to yield `true`, and short circuit

release-content/migration-guides/combinator_system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Specifically, the combinators act as follows:
1313
| Combinator | Rust Equivalent |
1414
|:----------:|:---------------:|
1515
| `and` | `a && b` |
16-
| `or` | `a || b` |
16+
| `or` | `a \|\| b` |
1717
| `xor` | `a ^ b` |
1818
| `nand` | `!(a && b)` |
19-
| `nor` | `!(a || b)` |
19+
| `nor` | `!(a \|\| b)` |
2020
| `xnor` | `!(a ^ b)` |
2121

2222
```rust

0 commit comments

Comments
 (0)