format docstrings (still WIP)
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ fn main() -> ExitCode {
|
||||
handle_final_result(main_inner())
|
||||
}
|
||||
|
||||
/// Skip printing the error chain when searching packages yields no results, otherwise report error
|
||||
/// chain.
|
||||
/// Skip printing the error chain when searching packages yields no results,
|
||||
/// otherwise report error chain.
|
||||
fn handle_final_result(result: Result<()>) -> ExitCode {
|
||||
match result {
|
||||
Ok(_) => ExitCode::SUCCESS,
|
||||
|
||||
@@ -43,12 +43,13 @@ impl Pacdef {
|
||||
|
||||
/// Run the action that was provided by the user as first argument.
|
||||
///
|
||||
/// For convenience sake, all called functions take a `&self` argument, even if these are not
|
||||
/// strictly required.
|
||||
/// For convenience sake, all called functions take a `&self` argument, even if
|
||||
/// these are not strictly required.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the user passed an unexpected action. This means all fields from `crate::action::Action` must be matched in this function.
|
||||
/// Panics if the user passed an unexpected action. This means all fields from
|
||||
/// `crate::action::Action` must be matched in this function.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user