Skip to content

Commit 922b3b9

Browse files
committed
Fix documentation
1 parent 00fe33a commit 922b3b9

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
@@ -49,7 +49,7 @@ func main() {
4949
Profile Profile `bencode:"profile"`
5050
}
5151

52-
input := []byte("d8:username8:johndoe5:email15:john@example.com7:profiled4:name9:John Doe3:agei30e7:hobbiesl7:guitar6:travel5:cookingeee")
52+
input := []byte("d5:email16:john@example.com7:profiled3:agei42e7:hobbiesl6:guitar6:travel7:cookinge4:name4:Johne8:username7:johndoee")
5353
var user User
5454

5555
err := bencode.Decode(input, &user)

0 commit comments

Comments
 (0)