Skip to content

Commit 6895be6

Browse files
committed
fix -D missing_docs
1 parent d1dc966 commit 6895be6

File tree

3 files changed

+62
-80
lines changed

3 files changed

+62
-80
lines changed

Cargo.lock

+59-79
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci/script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ main() {
3939
esac
4040

4141
# test crate
42-
cargo init --name foo $td
42+
cargo init --lib --name foo $td
4343
echo 'cortex-m = "0.7.7"' >> $td/Cargo.toml
4444
echo 'cortex-m-rt = "0.7.3"' >> $td/Cargo.toml
4545
echo 'vcell = "0.1.3"' >> $td/Cargo.toml

src/util.rs

+2
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ impl U32Ext for u32 {
552552

553553
pub fn build_rs() -> TokenStream {
554554
quote! {
555+
//! Builder file for Peripheral access crate generated by svd2rust tool
556+
555557
use std::env;
556558
use std::fs::File;
557559
use std::io::Write;

0 commit comments

Comments
 (0)