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 f8a7092 commit 47574c4Copy full SHA for 47574c4
alpm/src/db.rs
@@ -149,10 +149,10 @@ impl<'h> Db<'h> {
149
}
150
151
#[doc(alias = "groupcache")]
152
- pub fn groups(&self) -> Result<AlpmListMut<'h, Group<'h>>> {
+ pub fn groups(&self) -> Result<AlpmList<'h, Group<'h>>> {
153
let groups = unsafe { alpm_db_get_groupcache(self.as_ptr()) };
154
self.handle.check_null(groups)?;
155
- unsafe { Ok(AlpmListMut::from_parts(self.handle, groups)) }
+ unsafe { Ok(AlpmList::from_parts(self.handle, groups)) }
156
157
158
pub fn siglevel(&self) -> SigLevel {
0 commit comments