Taplo and typos in CI, TOML cleanup (#4510)

* Taplo and typos in CI

* Clean up Cargo.toml files

* Fix CI

* Fix CI

* Run typos in CI

* Loosen typos a bit

* Fix typos

* Fix taplo

* Switch to Tombi

* Fix Tombi errors

* Remove unused typos config

* Tombi fmt

* Remove extraneous cargo fmt

* fix typos
This commit is contained in:
aecsocket
2025-10-12 21:18:38 +01:00
committed by GitHub
parent ea594ec27c
commit 4cd8ccd319
46 changed files with 650 additions and 468 deletions

View File

@@ -75,7 +75,7 @@ pub enum AttachedCharge {
/// This can be used in the case of resubscription flows. The amount from this
/// charge will be used, but the tax will be recalculated and the charge updated.
///
/// The charge's status will NOT be updated - it is the caller's responsability to
/// The charge's status will NOT be updated - it is the caller's responsibility to
/// update the charge's status on failure or success.
///
/// This may be accompanied by an automated payment session.
@@ -160,7 +160,7 @@ pub struct PaymentBootstrapOptions<'a> {
///
/// Taxes will always be collected.
///
/// Note the charge will NOT be updated. It is the caller's responsability to update the charge
/// Note the charge will NOT be updated. It is the caller's responsibility to update the charge
/// on success or failure.
pub payment_session: PaymentSession,
/// The charge the payment intent on should be based upon.
@@ -185,7 +185,7 @@ pub struct PaymentBootstrapResults {
///
/// # Important notes
///
/// - This function does not perform any database writes. It is the caller's responsability to, for
/// - This function does not perform any database writes. It is the caller's responsibility to, for
/// example, update the charge's status on success or failure, or update the charge's tax amount,
/// tax eligibility or payment and tax platform IDs.
/// - You may not update or create a payment intent for an off-session payment flow without

View File

@@ -1,4 +1,4 @@
//! TODO: this module should be removed; it is superceded by `analytics_get`
//! TODO: this module should be removed; it is superseded by `analytics_get`
use super::ApiError;
use crate::database;
@@ -412,7 +412,7 @@ pub async fn revenue_get(
/// Get country data for a set of projects or versions
/// Data is returned as a hashmap of project/version ids to a hashmap of coutnry to downloads.
/// Unknown countries are labeled "".
/// This is usuable to see significant performing countries per project
/// This is usable to see significant performing countries per project
/// eg:
/// {
/// "4N1tEhnO": {
@@ -485,7 +485,7 @@ pub async fn countries_downloads_get(
/// Get country data for a set of projects or versions
/// Data is returned as a hashmap of project/version ids to a hashmap of coutnry to views.
/// Unknown countries are labeled "".
/// This is usuable to see significant performing countries per project
/// This is usable to see significant performing countries per project
/// eg:
/// {
/// "4N1tEhnO": {