mirror of
https://github.com/0xShay/rust-orderbook.git
synced 2026-01-11 13:13:24 +00:00
fix spelling error
This commit is contained in:
@@ -172,7 +172,7 @@ fn market_sell(ob: &mut Orderbook, quantity: i32) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn limit_buy(ob: &mut Orderbook, quantity: i32, price: i32) {
|
fn limit_buy(ob: &mut Orderbook, quantity: i32, price: i32) {
|
||||||
println!("Perofrming LIMIT BUY: {} @ ${}", quantity, price);
|
println!("Performing LIMIT BUY: {} @ ${}", quantity, price);
|
||||||
println!();
|
println!();
|
||||||
let mut left_to_buy: i32 = quantity;
|
let mut left_to_buy: i32 = quantity;
|
||||||
let mut total_value: i32 = 0;
|
let mut total_value: i32 = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user