diff --git a/crates/pacdef_core/src/core.rs b/crates/pacdef_core/src/core.rs index e40dc5a..be66264 100644 --- a/crates/pacdef_core/src/core.rs +++ b/crates/pacdef_core/src/core.rs @@ -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() {