Skip to main content

refname

Macro refname 

Source
macro_rules! refname {
    ($arg:literal) => { ... };
}
Expand description

Create a git_ref_format_core::RefString from a string literal.

Similar to core::debug_assert, an optimized build will not validate (but rather perform an unsafe conversion) unless -C debug-assertions is passed to the compiler.