Skip to content

Commit fa2e372

Browse files
committed
Use doc_cfg to allow nightly docs to build
1 parent e7ca4fb commit fa2e372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub fn render(d: &Device, config: &Config, device_x: &mut String) -> Result<Toke
5959
#![allow(non_camel_case_types)]
6060
#![allow(non_snake_case)]
6161
#![no_std]
62-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
62+
#![cfg_attr(docsrs, feature(doc_cfg))]
6363
});
6464
}
6565

0 commit comments

Comments
 (0)