docs(core): docstrings

This commit is contained in:
steven-omaha
2023-06-06 16:14:28 +02:00
parent f394ea8938
commit d11467a318
+4
View File
@@ -233,6 +233,10 @@ impl Pacdef {
Ok(result)
}
/// Print the alphabetically sorted names of all groups to stdout.
///
/// This methods cannot return an error. It returns a `Result` to be consistent
/// with other methods.
#[allow(clippy::unnecessary_wraps)]
fn show_groups(self) -> Result<()> {
if self.groups.is_empty() {