mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
Remove some #[allow]s II (#2616)
Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
This commit is contained in:
parent
e08d954573
commit
baa1822180
3 changed files with 1 additions and 3 deletions
|
|
@ -38,7 +38,6 @@ pub fn process_cmdline() -> Result<CliArgs> {
|
|||
.get_one::<String>("directory")
|
||||
.map_or_else(|| PathBuf::from("."), PathBuf::from);
|
||||
|
||||
#[allow(clippy::option_if_let_else)]
|
||||
let repo_path = if let Some(w) = workdir {
|
||||
RepoPath::Workdir { gitdir, workdir: w }
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ impl CompareDetailsComponent {
|
|||
});
|
||||
}
|
||||
|
||||
#[allow(unstable_name_collisions)]
|
||||
fn get_commit_text(&self, data: &CommitDetails) -> Vec<Line> {
|
||||
let mut res = vec![
|
||||
Line::from(vec![
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ impl DetailsComponent {
|
|||
.collect()
|
||||
}
|
||||
|
||||
#[allow(unstable_name_collisions, clippy::too_many_lines)]
|
||||
#[allow(clippy::too_many_lines)]
|
||||
fn get_text_info(&self) -> Vec<Line> {
|
||||
self.data.as_ref().map_or_else(Vec::new, |data| {
|
||||
let mut res = vec![
|
||||
|
|
|
|||
Loading…
Reference in a new issue