Skip to content

Commit c548133

Browse files
author
Vincent Rouillé
authored
Merge pull request #151 from Daniel-B-Smith/get_key_comment
Fix comment for `GetKeyResult`
2 parents 4f8363f + 5fe2979 commit c548133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

foundationdb/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ impl GetKeyResult {
665665
self.trx.clone()
666666
}
667667

668-
/// Returns the values associated with this get
668+
/// Returns the key associated with the call to `Transaction::get_key`
669669
pub fn value(&self) -> &[u8] {
670670
self.inner.get_key().expect("inner should resolve into key")
671671
}

0 commit comments

Comments
 (0)