Skip to content

Commit

Permalink
Fix documentation for Int.swap_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Jul 30, 2024
1 parent 54af751 commit 4a6edde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/src/std/int.inko
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ class builtin Int {
# # Examples
#
# ```inko
# 14640.swap_bytes # => 12345
# 12345.swap_bytes # => 4120793659044003840
# 4120793659044003840.swap_bytes # => 12345
# ```
fn pub swap_bytes -> Int {
_INKO.int_swap_bytes(self)
Expand Down

0 comments on commit 4a6edde

Please sign in to comment.