Skip to content

Commit a4a8bd8

Browse files
SnakeOilSalesmanRahix
authored andcommitted
Add explicit loop to entry point's docstring example to make Clippy happy
1 parent 739f942 commit a4a8bd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ pub use avr_device_macros::interrupt;
180180
/// ```
181181
/// #[avr_device::entry]
182182
/// fn main() -> ! {
183-
/// // ...
183+
/// loop {
184+
/// // ...
185+
/// }
184186
/// }
185187
/// ```
186188
///

0 commit comments

Comments
 (0)