A match is exhaustive if every value of the matched type matches at least one of its patterns, guards not counted. Rust accepts only exhaustive matches.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
A match is exhaustive if every value of the matched type matches at least one of its patterns, guards not counted. Rust accepts only exhaustive matches.