Skip to content

Commit e271def

Browse files
author
Stephan Dilly
committed
cleanup
1 parent b34dedd commit e271def

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

asyncgit/src/sync/stash.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
#![allow(dead_code)]
21
use super::utils::repo;
32
use crate::error::Result;
43
use git2::{Oid, StashFlags};
54
use scopetime::scope_time;
65

76
///
7+
#[allow(dead_code)]
88
pub struct StashItem {
99
pub msg: String,
1010
index: usize,
1111
id: Oid,
1212
}
1313

1414
///
15+
#[allow(dead_code)]
1516
pub struct StashItems(Vec<StashItem>);
1617

1718
///
19+
#[allow(dead_code)]
1820
pub fn get_stashes(repo_path: &str) -> Result<StashItems> {
1921
scope_time!("get_stashes");
2022

0 commit comments

Comments
 (0)