From 6dcc45d722f84af6b2c1d5d8d06da3a1043b7163 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 10 Jan 2024 21:45:40 +0100 Subject: [PATCH] remove trailing whitespaces --- .gitea/workflows/cargo.yaml | 4 ++-- members/libpt-bin/src/main/args.rs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index 130f203..67d518c 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: format: - name: cargo test + name: cargo fmt permissions: # Give the default GITHUB_TOKEN write permission to commit and push the # added or changed files to the repository. @@ -19,7 +19,7 @@ jobs: # Defaults to "Apply automatic changes" commit_message: Automatical formatting check: - name: cargo test + name: cargo check steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/members/libpt-bin/src/main/args.rs b/members/libpt-bin/src/main/args.rs index e7313f3..16125c7 100644 --- a/members/libpt-bin/src/main/args.rs +++ b/members/libpt-bin/src/main/args.rs @@ -42,11 +42,11 @@ static LONG_ABOUT_ROOT: &'static str = r##" /// makes use of composition to build a complex system of commands, subcommands, flags and options. #[derive(Debug, Clone, Parser)] #[command( - author, - version, - about = ABOUT_ROOT, + author, + version, + about = ABOUT_ROOT, long_about = format!("{}{}", ABOUT_ROOT ,LONG_ABOUT_ROOT), - help_template = + help_template = r#"libpt: {version}{about-section}Author: {author-with-newline} {usage-heading} {usage}{all-args}{tab}"#