Formatting fix

This commit is contained in:
Ajeet D'Souza 2025-02-10 01:51:08 +05:30
parent 62aee1fa65
commit ed0ae9f061
7 changed files with 7 additions and 7 deletions

View File

@ -5,4 +5,4 @@ use_field_init_shorthand = true
use_small_heuristics = "Max"
use_try_shorthand = true
wrap_comments = true
version = "Two"
style_edition = "2024"

View File

@ -1,6 +1,6 @@
use std::path::Path;
use anyhow::{bail, Result};
use anyhow::{Result, bail};
use crate::cmd::{Add, Run};
use crate::db::Database;

View File

@ -1,6 +1,6 @@
use std::fs;
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use crate::cmd::{Import, ImportFrom, Run};
use crate::db::Database;

View File

@ -1,4 +1,4 @@
use anyhow::{bail, Result};
use anyhow::{Result, bail};
use crate::cmd::{Remove, Run};
use crate::db::Database;

View File

@ -4,7 +4,7 @@ mod stream;
use std::path::{Path, PathBuf};
use std::{fs, io};
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use bincode::Options;
use ouroboros::self_referencing;

View File

@ -1,7 +1,7 @@
use std::fmt::{self, Display, Formatter};
use std::io;
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
/// Custom error type for early exit.
#[derive(Debug)]

View File

@ -8,7 +8,7 @@ use std::{env, mem};
#[cfg(windows)]
use anyhow::anyhow;
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use crate::db::{Dir, Epoch};
use crate::error::SilentExit;