Skip to content

Commit 27a7b35

Browse files
Merge pull request #213 from brotskydotcom/attributes
Fix erroneous doc reference.
2 parents 11ace18 + 4905064 commit 27a7b35

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/secret_service.rs

-4
Original file line numberDiff line numberDiff line change
@@ -191,17 +191,13 @@ impl CredentialApi for SsCredential {
191191
}
192192

193193
/// Get attributes on a unique matching item, if it exists
194-
///
195-
/// Same error conditions as [get_secret].
196194
fn get_attributes(&self) -> Result<HashMap<String, String>> {
197195
let attributes: Vec<HashMap<String, String>> =
198196
self.map_matching_items(get_item_attributes, true)?;
199197
Ok(attributes.into_iter().next().unwrap())
200198
}
201199

202200
/// Update attributes on a unique matching item, if it exists
203-
///
204-
/// Same error conditions as [get_secret].
205201
fn update_attributes(&self, attributes: &HashMap<&str, &str>) -> Result<()> {
206202
self.map_matching_items(|i| update_item_attributes(i, attributes), true)?;
207203
Ok(())

0 commit comments

Comments
 (0)