fix: remove unused GitDir::into_string() function
This commit is contained in:
parent
b5c0f5bd36
commit
65e9ddf5db
2 changed files with 1 additions and 6 deletions
|
@ -20,10 +20,6 @@ impl GitDir {
|
||||||
pub const fn pathbuf(&self) -> &PathBuf {
|
pub const fn pathbuf(&self) -> &PathBuf {
|
||||||
&self.0
|
&self.0
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn into_string(self) -> String {
|
|
||||||
self.to_string()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
impl std::fmt::Display for GitDir {
|
impl std::fmt::Display for GitDir {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
|
|
|
@ -724,8 +724,7 @@ mod given {
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
server::{Http, ServerConfig, ServerStorage, Webhook},
|
server::{Http, ServerConfig, ServerStorage, Webhook},
|
||||||
BranchName, ForgeAlias, ForgeConfig, ForgeType, RepoAlias, RepoBranches, ServerRepoConfig,
|
ForgeAlias, ForgeConfig, ForgeType, RepoAlias, RepoBranches, ServerRepoConfig, WebhookId,
|
||||||
WebhookId,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn a_name() -> String {
|
pub fn a_name() -> String {
|
||||||
|
|
Loading…
Reference in a new issue