cargo fmt: three chains rustfmt splits
Formatting only. portable::instant (from F5), and the ffi's link and unlink (F2/F3), were laid out by hand without a toolchain; rustfmt splits each chain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -533,7 +533,9 @@ impl Inkwell {
|
||||
Err(CoreError::NotLinked) => None,
|
||||
Err(e) => return Err(e),
|
||||
};
|
||||
let revoked = link::unlink(&self.db, held).await.map_err(CoreError::store)?;
|
||||
let revoked = link::unlink(&self.db, held)
|
||||
.await
|
||||
.map_err(CoreError::store)?;
|
||||
Ok(revoked.into())
|
||||
}
|
||||
|
||||
@@ -739,7 +741,9 @@ impl Inkwell {
|
||||
url: &str,
|
||||
credential: link::Credential<'_>,
|
||||
) -> Result<Identity, CoreError> {
|
||||
let granted = link::authenticate(url, credential).await.map_err(CoreError::network)?;
|
||||
let granted = link::authenticate(url, credential)
|
||||
.await
|
||||
.map_err(CoreError::network)?;
|
||||
self.store_link(&granted.base_url, &granted.token, granted.retention_days)?;
|
||||
Ok(granted.identity.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user