Support infobox doc gen on stable release

pull/412/head
Ivan Tham 3 years ago committed by Blaž Hrastnik
parent 61e925cbed
commit 64f83dfcbd

@ -3426,7 +3426,13 @@ macro_rules! mode_info {
#[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"] #[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
$( $(
#[doc = "<tr><td>"] #[doc = "<tr><td>"]
#[doc = mode_info!(@join $($key),+)] // TODO switch to this once we use rust 1.54
// right now it will produce multiple rows
// #[doc = mode_info!(@join $($key),+)]
$(
#[doc = $key]
)+
// <-
#[doc = "</td><td>"] #[doc = "</td><td>"]
#[doc = $desc] #[doc = $desc]
#[doc = "</td></tr>"] #[doc = "</td></tr>"]

Loading…
Cancel
Save