Skip to main content

qualified_pattern

Macro qualified_pattern 

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

Create a git_ref_format_core::refspec::QualifiedPattern 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.