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

Method format_string

crates/common/src/cformat.rs:399–401  ·  view source on GitHub ↗
(&self, string: T)

Source from the content-addressed store, hash-verified

397
398 #[inline]
399 pub fn format_string<T: FormatBuf>(&self, string: T) -> T {
400 self.format_string_with_precision(string, self.precision.as_ref())
401 }
402
403 #[inline]
404 pub fn format_char<T: FormatBuf>(&self, ch: T::Char) -> T {

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.45

Tested by

no test coverage detected