cleanup
This commit is contained in:
parent
7820a409bf
commit
3e69eed22f
7 changed files with 51 additions and 21 deletions
|
@ -43,6 +43,7 @@ pub enum UpdateStatus {
|
|||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
#[inline(always)]
|
||||
pub async fn check_update() -> crate::Result<UpdateResult> {
|
||||
let raw = inner::checkUpdate().await?;
|
||||
|
||||
|
@ -66,6 +67,7 @@ pub async fn check_update() -> crate::Result<UpdateResult> {
|
|||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
#[inline(always)]
|
||||
pub async fn install_update() -> crate::Result<()> {
|
||||
inner::installUpdate().await?;
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue