fix(backend): docstring

This commit is contained in:
steven-omaha
2024-04-24 20:11:24 +02:00
parent b7bbb37511
commit 1268df3628
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ use crate::prelude::*;
pub type Switches = &'static [&'static str];
pub type Text = &'static str;
// A bundle of small of bits of info associated with a backend.
/// A bundle of small of bits of info associated with a backend.
pub struct BackendInfo {
/// The binary name when calling the backend.
pub binary: String,
+2 -1
View File
@@ -8,13 +8,14 @@ use std::fmt::Display;
use crate::prelude::*;
use anyhow::{Context, Result};
// A backend with its associated managed packages
/// A backend with its associated managed packages
pub struct ManagedBackend {
/// All managed packages for this backend, i.e. all packages
/// under the corresponding section in all group files.
pub packages: Packages,
pub any_backend: AnyBackend,
}
impl ManagedBackend {
/// Get unmanaged packages, sorted alphabetically.
///