Why doesn't type inference help me here?

51 points capedbaldy475 20 comments
    let contents : Vec<char> = read_file!(file_name).chars().collect();

Why do I have to specify like the Vec<char> type annotation? I have seen this in the following case too:

let args : Vec<String> = std::env::args().collect();

Is this something related to .collect() method ?? I'm really confused here