MCPcopy Index your code
hub / github.com/RustPython/RustPython / feed

Method feed

crates/stdlib/src/posixsubprocess.rs:531–536  ·  view source on GitHub ↗
(&mut self, c: u8)

Source from the content-addressed store, hash-verified

529struct NonDigit;
530impl IntParser {
531 fn feed(&mut self, c: u8) -> Result<(), NonDigit> {
532 let digit = (c as char).to_digit(10).ok_or(NonDigit)?;
533 self.num *= 10;
534 self.num += digit as i32;
535 Ok(())
536 }
537}

Callers 2

close_dir_fdsFunction · 0.45
close_filetable_fdsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected