fix(backend): docstring
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user