chore: fmt

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-01 15:02:05 +02:00
parent 8cd68d569b
commit 8b83b9c14d
7 changed files with 12 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ use std::{
use ::semver::Version;
use anyhow::Context;
use clap::{Args, Parser, Subcommand};
use cuddle_please_frontend::{gatheres::ConfigArgs, PleaseConfig, PleaseConfigBuilder};
use cuddle_please_frontend::{gatheres::ConfigArgs, PleaseConfigBuilder};
use crate::{
cliff::{self, changelog_parser},

View File

@@ -10,8 +10,7 @@ pub struct GiteaClient {
pub allow_insecure: bool,
}
const APP_USER_AGENT: &str =
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"),);
const APP_USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"),);
impl GiteaClient {
pub fn new(url: impl Into<String>, token: Option<impl Into<String>>) -> Self {

View File

@@ -24,8 +24,6 @@ impl ConsoleUi {
}
}
impl From<ConsoleUi> for DynUi {
fn from(value: ConsoleUi) -> Self {
Box::new(value)

View File

@@ -85,8 +85,6 @@ impl Ui for BufferUi {
}
}
impl Default for BufferUi {
fn default() -> Self {
Self {