refactor(app): update the visibility of types in the core library

This commit is contained in:
Orhun Parmaksız 2022-01-10 01:33:53 +03:00
parent 7cc1bbfe6e
commit eb3ecce5d5
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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: {}",