Skip to content

Commit 1a13504

Browse files
bogglebrson
authored andcommitted
Fixed documentation comment glitches in the logic ADTs
1 parent 1c9f97b commit 1a13504

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/lib/bool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Conjunction
3030
*/
3131
pure fn and(a: t, b: t) -> t { a && b }
3232

33-
/* Function: and
33+
/* Function: or
3434
3535
Disjunction
3636
*/

src/lib/four.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Module: four
55
66
The fourrternary Belnap relevance logic FOUR represented as ADT
77
8-
This allows reasoning with four logic values (true, false, none, both)
8+
This allows reasoning with four logic values (true, false, none, both).
99
1010
Implementation: Truth values are represented using a single u8 and
11-
all operations are done using bitshifting which is fast
11+
all operations are done using bit operations which is fast
1212
on current cpus.
1313
*/
1414

src/lib/tri.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Module: tri
55
66
ADT for the ternary Kleene logic K3
77
8-
This allows reasoning with three logic values (true, false, unknown)
8+
This allows reasoning with three logic values (true, false, unknown).
99
1010
Implementation: Truth values are represented using a single u8 and
11-
all operations are done using bitshifting which is fast
11+
all operations are done using bit operations which is fast
1212
on current cpus.
1313
*/
1414

0 commit comments

Comments
 (0)