MCPcopy Create free account
hub / github.com/davidblewett/rure-python / fmt

Method fmt

regex/regex-syntax/src/error.rs:53–59  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

51
52impl fmt::Display for Error {
53 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
54 match *self {
55 Error::Parse(ref x) => x.fmt(f),
56 Error::Translate(ref x) => x.fmt(f),
57 _ => unreachable!(),
58 }
59 }
60}
61
62/// A helper type for formatting nice error messages.

Callers

nothing calls this directly

Calls 5

repeat_charFunction · 0.85
containsMethod · 0.80
notateMethod · 0.80
is_emptyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected