We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841869e commit b2fbbb6Copy full SHA for b2fbbb6
corelib/src/byte_array.cairo
@@ -178,8 +178,8 @@ pub impl ByteArrayImpl of ByteArrayTrait {
178
///
179
/// ```
180
/// let mut ba = "";
181
- /// ba.append_byte(0);
182
- /// assert!(ba == "0");
+ /// ba.append_byte(0x41); // Appending a single byte 'A'
+ /// assert!(ba == "A");
183
184
fn append_byte(ref self: ByteArray, byte: u8) {
185
if self.pending_word_len == 0 {
0 commit comments