Skip to content

README.md: AtomicBool vs AtomicU32 #134

@LeoniePhiline

Description

@LeoniePhiline

Hi,

The README.md shows AtomicU32::new(<boolean literal>) assigned to AtomicBool:

static FLAG1: AtomicBool = AtomicU32::new(false); // .bss
static FLAG2: AtomicBool = AtomicU32::new(true);  // .data

I assume this is meant to mean AtomicBool::new?

-static FLAG1: AtomicBool = AtomicU32::new(false); // .bss
+static FLAG1: AtomicBool = AtomicBool::new(false); // .bss
-static FLAG2: AtomicBool = AtomicU32::new(true);  // .data
+static FLAG2: AtomicBool = AtomicBool::new(true);  // .data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions