From 06e8e61eb21da41e091dc63bc0b6be9080e3ada5 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Sun, 18 Nov 2018 13:09:23 -0700 Subject: [PATCH] fixes --- README.md | 2 ++ book/src/ch01/volatile.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 517d912..586d877 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![crates.io](https://img.shields.io/crates/v/gba.svg)](https://crates.io/crates/gba) [![docs.rs](https://docs.rs/gba/badge.svg)](https://docs.rs/gba/latest/gba/) +* [![Built with cargo-make](https://sagiegurari.github.io/cargo-make/assets/badges/cargo-make.svg)](https://sagiegurari.github.io/cargo-make) + # gba A crate that helps you make GBA games diff --git a/book/src/ch01/volatile.md b/book/src/ch01/volatile.md index 92ce7e5..940e05b 100644 --- a/book/src/ch01/volatile.md +++ b/book/src/ch01/volatile.md @@ -22,9 +22,9 @@ operations are enforced to happen in the exact order that you specify them, but only relative to other volatile operations. So something like ```rust -c.volatile_write(5); +c.write_volatile(5); a += b; -d.volatile_write(7); +d.write_volatile(7); ``` might end up changing `a` either before or after the change to `c` (since the