We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5bc197 commit e299402Copy full SHA for e299402
src/keyring.rs
@@ -123,7 +123,7 @@ impl KeyRing {
123
/// The keyring must either grant the caller read permission, or grant
124
/// the caller search permission.
125
pub fn get_linked_keys(&self, max: usize) -> Result<Vec<Key>, KeyError> {
126
- // Allocate a capacity of 200 keys
+ // Allocate the requested capacity
127
let mut buffer = Vec::<KeySerialId>::with_capacity(max);
128
129
// Perform the read
0 commit comments