.and_then(|s| s.parse::<i32>() .map_err(|e| e.into()) ... その結果、 From::from がエラー型に実装されている時 map_err は消えてなくなります。 use std::error;.
確定! 回上一頁