Skip to content

Commit

Permalink
builtin: minor documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 26, 2024
1 parent 1dd66f1 commit 84acd3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/builtin.jule
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ fn make(T, ...V): T
// If destination slice is []byte, source might be str also.
fn copy(mut dest: Dest, mut src: Src): int

// If there is enough capacity, it adds to the target slice.
// If there is enough capacity, it adds to the destination slice.
// If there is not enough capacity, it creates a copy of the
// target slice with enough capacity and adds the new
// destination slice with enough capacity and adds the new
// elements and returns the new allocation.
fn append(mut src: []T, mut items: ...T): []T
fn append(mut dest: []T, mut items: ...T): []T

// Returns length of T.
//
Expand Down

0 comments on commit 84acd3c

Please sign in to comment.