Skip to content

Commit 39846f1

Browse files
keyan-mrvcas
authored andcommitted
docs: remove elaboration on padding
1 parent 429c45b commit 39846f1

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lib/aiken/builtin.ak

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,8 @@ pub fn less_than_equals_bytearray(left: ByteArray, right: ByteArray) -> Bool {
268268
///
269269
/// > [!NOTE]
270270
/// > All bitwise operations are processed in little-endian bit order. For
271-
/// > example, ANDing `#"FF"` with `#"00FF"` will yield a `#"00"` (or `#"0000"`
272-
/// > if `padding` is `True`, since zeros are added to the _right_ of the
273-
/// > shorter `ByteArray`).
271+
/// > example, ANDing `#"F0"` with `#"0FFF"` will yield a `#"00"` (or `#"00FF"`
272+
/// > if `padding` is `True`).
274273
pub fn and_bytearray(
275274
padding: Bool,
276275
left: ByteArray,
@@ -287,8 +286,7 @@ pub fn and_bytearray(
287286
/// > [!NOTE]
288287
/// > All bitwise operations are processed in little-endian bit order. For
289288
/// > example, ORing `#"FF"` with `#"00FF"` will yield a `#"FF"` (or `#"FFFF"`
290-
/// > if `padding` is `True`, since zeros are added to the _right_ of the
291-
/// > shorter `ByteArray`).
289+
/// > if `padding` is `True`).
292290
pub fn or_bytearray(
293291
padding: Bool,
294292
left: ByteArray,
@@ -304,9 +302,8 @@ pub fn or_bytearray(
304302
///
305303
/// > [!NOTE]
306304
/// > All bitwise operations are processed in little-endian bit order. For
307-
/// > example, XORing `#"0F"` with `#"00F0"` will yield a `#"0F"` (or `#"0FF0"`
308-
/// > if `padding` is `True`, since zeros are added to the _right_ of the
309-
/// > shorter `ByteArray`).
305+
/// > example, XORing `#"0F"` with `#"0000"` will yield a `#"0F"` (or `#"0F00"`
306+
/// > if `padding` is `True`).
310307
pub fn xor_bytearray(
311308
padding: Bool,
312309
left: ByteArray,

0 commit comments

Comments
 (0)