Skip to content

Commit 57487a3

Browse files
committed
README.md
1 parent 526909c commit 57487a3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ Where:
4141

4242
* **Rack** is a logic state either for the whole process or for a group of
4343
rules. In the first case, a [`global`] module can be used which contains a
44-
pre-defined process ladder instance. Rack can also act as an object factory
45-
for [`Processor`] instances, in case if created from a [`Rack`]
46-
instance, the processors have the common recording flag.
44+
pre-defined process global instance. Rack can also act as an object factory
45+
for [`Processor`] instances, in case if created from a [`Rack`] instance, the
46+
processors have the common recording flag.
4747

4848
```rust
4949
use logicline::Rack;
5050

51-
let ladder = Rack::new();
51+
let rack = Rack::new();
5252
```
5353

5454
* **Processor** is a logic processor that processes a chain of rules. The
@@ -58,8 +58,8 @@ let ladder = Rack::new();
5858
```rust
5959
use logicline::Rack;
6060

61-
let ladder = Rack::new();
62-
let processor = ladder.processor();
61+
let rack = Rack::new();
62+
let processor = rack.processor();
6363
```
6464

6565
* **Line** is an instance which is used to structure logic as a sequence of
@@ -186,8 +186,8 @@ let env = Env {
186186
humidity: 40.0,
187187
};
188188
189-
let ladder = Rack::new();
190-
let mut processor = ladder.processor();
189+
let rack = Rack::new();
190+
let mut processor = rack.processor();
191191
192192
let mut env_healthy = true;
193193
@@ -210,8 +210,8 @@ external variable which is recorded as an input:
210210
```rust
211211
use logicline::{action, Rack};
212212

213-
let ladder = Rack::new();
214-
let mut processor = ladder.processor();
213+
let rack = Rack::new();
214+
let mut processor = rack.processor();
215215

216216
let temperature = 25.0;
217217
let humidity = 40.0;

0 commit comments

Comments
 (0)