MCPcopy Create free account
hub / github.com/PRQL/prql / consume_width

Method consume_width

prqlc/prqlc/src/codegen/mod.rs:112–115  ·  view source on GitHub ↗
(&mut self, width: u16)

Source from the content-addressed store, hash-verified

110 }
111
112 fn consume_width(&mut self, width: u16) -> Option<()> {
113 self.rem_width = self.rem_width.checked_sub(width)?;
114 Some(())
115 }
116
117 fn reset_line(&mut self) -> Option<()> {
118 let ident = self.tab.len() as u16 * self.indent;

Callers 3

consumeMethod · 0.80
write_inlineMethod · 0.80
writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected