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

Fix typo. Now approproately checks the unit and zerod flags. #51

Merged
merged 1 commit into from
Dec 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion procmacros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn ram(args: TokenStream, input: TokenStream) -> TokenStream {
.emit();
}

if rtc_slow && rtc_fast {
if uninitialized && zeroed {
Span::call_site()
.error("Only one of uninitialized and zeroed")
.emit();
Expand Down