Update doc on BinstallError::UserAbort

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-08-04 19:44:12 +10:00
parent b921e9dfc8
commit f4dd75ef9b
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -18,7 +18,9 @@ pub enum BinstallError {
#[diagnostic(severity(error), code(binstall::internal::task_join))]
TaskJoinError(#[from] task::JoinError),
/// The installation was cancelled by a user at a confirmation prompt.
/// The installation was cancelled by a user at a confirmation prompt,
/// or user send a ctrl_c on all platforms or
/// `SIGINT`, `SIGHUP`, `SIGTERM` or `SIGQUIT` on unix to the program.
///
/// - Code: `binstall::user_abort`
/// - Exit: 32