Update doc of binstall_v1::Records::insert

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-27 22:32:20 +10:00
parent e6ee493771
commit cef4dfee5c
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -172,8 +172,8 @@ impl Records {
/// Adds a value to the set. /// Adds a value to the set.
/// If the set did not have an equal element present, true is returned. /// If the set did not have an equal element present, true is returned.
/// /// If the set did have an equal element present, false is returned,
/// If the set did have an equal element present, false is returned, and the entry is not updated. See the module-level documentation for more. /// and the entry is not updated.
pub fn insert(&mut self, value: MetaData) -> bool { pub fn insert(&mut self, value: MetaData) -> bool {
self.data.insert(value) self.data.insert(value)
} }