Skip to content

Commit

Permalink
Fix grammar in comment, tweak console output
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Aug 19, 2024
1 parent 3661c10 commit ad486bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gitcash/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub fn main() -> anyhow::Result<()> {
if args.command == Command::GenerateConfig {
if args.config.exists() {
bail!(format!(
"Config File {:?} already exists!",
"Config file {:?} already exists!",
args.config.display()
));
}
Expand All @@ -135,7 +135,7 @@ pub fn main() -> anyhow::Result<()> {
args.config.display()
)
})?;
println!("💰 Wrote {:?} 🏦\n", args.config.display());
println!(" Wrote example config to {:?}", args.config.display());
return Ok(());
}

Expand Down
4 changes: 2 additions & 2 deletions libgitcash/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ pub enum AccountType {

#[derive(Debug, PartialEq, Eq, PartialOrd, Hash, Clone, Deserialize, Serialize)]
#[serde(try_from = "String", into = "String")]
/// An entity related to a transaction
/// An account can hold money
///
/// Can be deserialize from "{account_type}:{name}"
/// Can be deserialized from "{account_type}:{name}".
pub struct Account {
pub account_type: AccountType,
pub name: String,
Expand Down

0 comments on commit ad486bf

Please sign in to comment.