Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warnings, Add .gitignore #81

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn main() {
#[cfg(test)]
mod tests {
use super::*;
use clap::{App, Arg, ArgMatches, ErrorKind, Values};
use clap::{App, ErrorKind};

#[test]
fn test_exchange_rate_de() -> Result<(), String> {
Expand Down
4 changes: 2 additions & 2 deletions src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ mod tests {
),
];

let detailed_sold_transactions =
let _detailed_sold_transactions =
tsocha marked this conversation as resolved.
Show resolved Hide resolved
reconstruct_sold_transactions(&parsed_sold_transactions, &parsed_gains_and_losses);
}

Expand Down Expand Up @@ -518,7 +518,7 @@ mod tests {

let parsed_gains_and_losses: Vec<(String, String, f32, f32, f32)> = vec![];

let detailed_sold_transactions =
let _detailed_sold_transactions =
tsocha marked this conversation as resolved.
Show resolved Hide resolved
reconstruct_sold_transactions(&parsed_sold_transactions, &parsed_gains_and_losses);
}
}
Loading