Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Commit 61fe1bf

Browse files
committed
Fix typo. Now approproately checks the unit and zerod flags.
1 parent 459bb29 commit 61fe1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

procmacros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn ram(args: TokenStream, input: TokenStream) -> TokenStream {
7272
.emit();
7373
}
7474

75-
if rtc_slow && rtc_fast {
75+
if uninitialized && zeroed {
7676
Span::call_site()
7777
.error("Only one of uninitialized and zeroed")
7878
.emit();

0 commit comments

Comments
 (0)