mirror of
https://github.com/orhun/systeroid
synced 2024-10-02 21:53:31 +00:00
refactor(app): update the visibility of types in the core library
This commit is contained in:
parent
7cc1bbfe6e
commit
eb3ecce5d5
|
@ -15,7 +15,7 @@ pub mod sysctl;
|
|||
pub mod error;
|
||||
|
||||
/// Parsers for the kernel documentation.
|
||||
pub mod parsers;
|
||||
pub(crate) mod parsers;
|
||||
|
||||
/// Configuration.
|
||||
pub mod config;
|
||||
|
|
|
@ -155,7 +155,7 @@ impl Parameter {
|
|||
}
|
||||
|
||||
/// Returns the parameter documentation if it exists.
|
||||
fn get_documentation(&self) -> Option<String> {
|
||||
pub fn get_documentation(&self) -> Option<String> {
|
||||
self.description.as_ref().map(|description| {
|
||||
format!(
|
||||
"{}\n{}\n{}\n-\nParameter: {}\nReference: {}",
|
||||
|
|
Loading…
Reference in a new issue