alshdavid/BorrowScript

Typo in readme

tejacques opened this issue · 1 comments

Here: https://github.com/alshdavid/BorrowScript/blob/main/README.md#write

It uses read in the example instead of write
Is:

function writeFoo(read foo: string) {
  foo.push('bar')
  console.log(foo) // "foobar"
}

should be:

function writeFoo(write foo: string) {
  foo.push('bar')
  console.log(foo) // "foobar"
}

Sorted, thanks