Skip to content

Commit

Permalink
clean up sentence on LevelDB copying slices
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Feb 11, 2012
1 parent 4a11ec7 commit dc9c2e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ levigo.Open() opens and creates databases.
*DB.Get(), .Put() and .Delete(), respectively, get the data related to a *DB.Get(), .Put() and .Delete(), respectively, get the data related to a
single key, put data for a single key into the database, and deletes data for single key, put data for a single key into the database, and deletes data for
a single key. Do not worry about copying the keys and values in the arguments a single key. Don't worry about copying the byte slices in the arguments and
and return values of these methods. LevelDB does this for you. return values of these methods; LevelDB will copy them for you.
ro := levigo.NewReadOptions() ro := levigo.NewReadOptions()
wo := levigo.NewWriteOptions() wo := levigo.NewWriteOptions()
Expand Down

0 comments on commit dc9c2e9

Please sign in to comment.