Mismatched types error: expected `char`, found reference

前端 未结 0 435
孤城傲影
孤城傲影 2021-01-01 05:51

the code snippet is:

use std::collections::HashSet;
  
fn main() {
    let dna = String::from("ACCCX");
    let dict: HashSet = vec![\'A         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题