fix: remove unused GitDir::into_string() function
All checks were successful
Rust / build (push) Successful in 1m18s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

This commit is contained in:
Paul Campbell 2024-06-08 20:33:15 +01:00
parent b5c0f5bd36
commit 65e9ddf5db
2 changed files with 1 additions and 6 deletions

View file

@ -20,10 +20,6 @@ impl GitDir {
pub const fn pathbuf(&self) -> &PathBuf {
&self.0
}
pub fn into_string(self) -> String {
self.to_string()
}
}
impl std::fmt::Display for GitDir {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {

View file

@ -724,8 +724,7 @@ mod given {
use crate::{
server::{Http, ServerConfig, ServerStorage, Webhook},
BranchName, ForgeAlias, ForgeConfig, ForgeType, RepoAlias, RepoBranches, ServerRepoConfig,
WebhookId,
ForgeAlias, ForgeConfig, ForgeType, RepoAlias, RepoBranches, ServerRepoConfig, WebhookId,
};
pub fn a_name() -> String {