(res: Result<T, Error>)
| 230 | } |
| 231 | |
| 232 | fn str_err<T>(res: Result<T, Error>) -> Result<T, String> { |
| 233 | return res.map_err(|err| format!("{}", err)) |
| 234 | } |
| 235 | |
| 236 | fn utf8_const(class_file: &mut Classfile, str: &str) -> usize { |
| 237 | for i in 0..class_file.constant_pool.constants.len() { |
no outgoing calls
no test coverage detected