Skip to content

Commit abfdb08

Browse files
committed
writeConstraint strong
1 parent 5049c69 commit abfdb08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/html/html_cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ fn parse_register(
271271
.then(|| enums_to_map(&enums))
272272
.and_then(|map| minimal_hole(&map, fwidth))
273273
.ok_or_else(|| anyhow!("Value is missing from {value:?}"))?;
274-
format!("{val} and missed")
274+
format!("{val} (+)")
275275
};
276276

277277
doc += &format!(
@@ -284,7 +284,7 @@ fn parse_register(
284284
} else if let Some(WriteConstraint::Range(wcrange)) = wc.as_ref() {
285285
let mn = hex(wcrange.min);
286286
let mx = hex(wcrange.max);
287-
fdoc = Some(format!("Allowed values: {mn}-{mx}"));
287+
fdoc = Some(format!("Allowed values: <strong>{mn}-{mx}</strong>"));
288288
}
289289
}
290290
fields.push(object!({

0 commit comments

Comments
 (0)