Remove a little debugging println!
This commit is contained in:
parent
68dd7b8a2c
commit
824de7d529
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ fn get_stocks(symbol: &String) -> String {
|
|||
let mut reply_message = String::new();
|
||||
if let Ok(parsed_response) = json::Json::from_str(&response_body[4..]) {
|
||||
let ref response_object = parsed_response.as_array().unwrap()[0];
|
||||
println!("response_object: {}", response_object);
|
||||
let price = response_object.find("l").unwrap().as_string().unwrap();
|
||||
let exchange = response_object.find("e").unwrap().as_string().unwrap();
|
||||
let change = response_object.find("c").unwrap().as_string().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue