MCPcopy Create free account
hub / github.com/archlinux/alpm / fmt

Method fmt

alpm-pkgbuild/src/bridge/parser.rs:322–329  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

320
321impl Display for Keyword {
322 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323 write!(f, "{}", self.keyword)?;
324 if let Some(suffix) = &self.suffix {
325 write!(f, "_{suffix}")?;
326 }
327
328 Ok(())
329 }
330}
331
332impl Keyword {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected