You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
Version of VSCode: 1.20.1
Version of the extension: 0.4.2
OS: linux mageia6
Description:
this example program:
use std::collections::HashMap;
fn main() {
let text = "hello world wonderful world";
let mut map = HashMap::new();
for word in text.split_whitespace() {
let count = map.entry(word).or_insert(0);
*count += 1;
}
println!("{:?}", map);
}
print this in a console:
{"world": 2, "wonderful": 1, "hello": 1}
but nothing in vscode.
I suppose because of the "{}" format.
Output of the "Rust logging" channel:
Working directory: /home/sopra/sopra11/rust/workout/testHash
Started rustup run stable-x86_64-unknown-linux-gnu cargo run --message-format json
Compiling testHash v0.1.0 (file:///home/sopra/sopra11/rust/workout/testHash)
Finished dev [unoptimized + debuginfo] target(s) in 0.53 secs
Running `target/debug/testHash`
Completed with code 0
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version of VSCode: 1.20.1
Version of the extension: 0.4.2
OS: linux mageia6
Description:
this example program:
use std::collections::HashMap;
fn main() {
let text = "hello world wonderful world";
}
print this in a console:
{"world": 2, "wonderful": 1, "hello": 1}
but nothing in vscode.
I suppose because of the "{}" format.
Output of the "Rust logging" channel:
The text was updated successfully, but these errors were encountered: