Skip to content

Commit 4259635

Browse files
committed
Allow more unused assignments.
1 parent d08c916 commit 4259635

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/primitive_docs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@ mod prim_f16 {}
13461346
/// May be rewritten as either:
13471347
///
13481348
/// ```
1349+
/// # #![allow(unused_assignments)]
13491350
/// # let mut x: f32 = 12.0;
13501351
/// # let a: f32 = 34.0;
13511352
/// # let b: f32 = 56.0;

0 commit comments

Comments
 (0)