We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef56dd1 + 3d5099b commit 5fa99aaCopy full SHA for 5fa99aa
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
8
## [Unreleased]
9
10
- Updated syn to version 2 (#732)
11
+- Let readable field fetch doc from svd description (#734)
12
13
## [v0.29.0] - 2023-06-05
14
src/generate/register.rs
@@ -805,7 +805,7 @@ pub fn fields(
805
span,
806
);
807
808
- let doc = format!("Checks if the value of the field is `{pc}`");
+ let doc = util::escape_special_chars(&util::respace(&v.doc));
809
enum_items.extend(quote! {
810
#[doc = #doc]
811
#inline
0 commit comments