embassy-rs / stm32-data

75 stars 105 forks source link

render multi-line document properly #476

Open eZioPan opened 5 months ago

eZioPan commented 5 months ago

and some clippy fix.


will need a


This PR doesn't change function of stm32-data-gen, so there should be no change in ci diff.


BELOW IS OUT OF DATE, SEE embassy-rs/chiptool#31 INSTEAD


Render metapac document from one-line to multi-line.

eg.

from

#[doc = "Scaling factor. Input value has been multiplied by 2^(-n) before for argument. Output value will need to be multiplied by 2^n later for results."]

to

#[doc = "Scaling factor.  "]
#[doc = "Input value has been multiplied by 2^(-n) before for argument.  "]
#[doc = "Output value will need to be multiplied by 2^n later for results."]

after


embassy-ci[bot] commented 5 months ago

diff: https://ci.embassy.dev/jobs/31abfdc41613/artifacts/diff.html