Permalink
Browse files

Formatting

  • Loading branch information...
Amos Wenger
Amos Wenger committed Jun 8, 2012
1 parent e41f587 commit 8c12dd1172124c594e83e1f119d1d4763f66416f
Showing with 3 additions and 1 deletion.
  1. +3 −1 excerpts/arraylist-remove.ooc
@@ -1,6 +1,8 @@
removeAt: func (index: SSizeT) -> T {
element := data[index]
- memmove(data + (index * T size), data + ((index + 1) * T size), (_size - index) * T size)
+ memmove(data + (index * T size),
+ data + ((index + 1) * T size),
+ (_size - index) * T size)
_size -= 1
element
}

0 comments on commit 8c12dd1

Please sign in to comment.