Comments.
Coverage to Makefile.toml. Added branch to map! to allow for instantiating with default values.
This commit is contained in:
@ -77,6 +77,10 @@ macro_rules! routes {
|
||||
}
|
||||
|
||||
/// Merges the given routers into a single router.
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// let _: axum::Router<()> = lib::join_routes![axum::Router::new(), axum::Router::new()];
|
||||
/// ```
|
||||
#[macro_export]
|
||||
macro_rules! join_routes {
|
||||
($($route:expr),* $(,)?) => {
|
||||
|
Reference in New Issue
Block a user