Fix incorrect CSV reader settings for example, fix typo in docs

This commit is contained in:
Wesley Kerfoot
2025-05-27 14:27:22 -04:00
parent db5c45602d
commit cac18b4aba
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -63,8 +63,6 @@ Example:
read_csv_from_string :: proc(filename: string) {
r: csv.Reader
r.trim_leading_space = true
r.reuse_record = true // Without it you have to delete(record)
r.reuse_record_buffer = true // Without it you have to each of the fields within it
defer csv.reader_destroy(&r)
csv_data, ok := os.read_entire_file(filename)