Skip to content

Commit 1880999

Browse files
authored
Merge pull request #29 from AkihiroSuda/dev
README.md: fix a typo
2 parents 86f804d + f7e8250 commit 1880999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use [`io.NewSectionReader`](https://pkg.go.dev/io#NewSectionReader) to wrap [`io
99
f, _ := os.Open("a.qcow2")
1010
defer f.Close()
1111
img, _ := qcow2reader.Open(f)
12-
r, _ := io.NewSectionReader(img, 0, img.Size()))
12+
r := io.NewSectionReader(img, 0, img.Size()))
1313
```
1414

1515
The following features are not supported yet:

0 commit comments

Comments
 (0)