A panic stops the current thread on a condition the program declares impossible: an index out of bounds, an unwrap of None or of Err, an explicit panic!. The values of the thread are dropped, a message gives the place and the cause, and if the thread is the main one the process exits with status 101.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表