From e271defc634d124906a5605a6849947f5828502d Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Fri, 22 May 2020 14:45:24 +0200 Subject: [PATCH] cleanup --- asyncgit/src/sync/stash.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/asyncgit/src/sync/stash.rs b/asyncgit/src/sync/stash.rs index 0fde76a7..088f8d75 100644 --- a/asyncgit/src/sync/stash.rs +++ b/asyncgit/src/sync/stash.rs @@ -1,10 +1,10 @@ -#![allow(dead_code)] use super::utils::repo; use crate::error::Result; use git2::{Oid, StashFlags}; use scopetime::scope_time; /// +#[allow(dead_code)] pub struct StashItem { pub msg: String, index: usize, @@ -12,9 +12,11 @@ pub struct StashItem { } /// +#[allow(dead_code)] pub struct StashItems(Vec); /// +#[allow(dead_code)] pub fn get_stashes(repo_path: &str) -> Result { scope_time!("get_stashes");