Documentation typo

This commit is contained in:
baltdev 2024-04-02 00:10:03 -05:00
parent 37d2f65d4d
commit 9a843bcfca
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "r6502"
version = "1.0.4"
version = "1.0.5"
authors = ["baltdev"]
edition = "2021"
description = "A simple NMOS 6502 emulator."

View File

@ -13,8 +13,8 @@ pub trait ReadCallback {
/// A trait dictating a memory write callback for an emulator.
/// If you want to easily create a one-off implementation, see [`FunctionWriteCallback`].
pub trait WriteCallback {
/// The callback to be called when memory is read.
/// This will be called in place of actually reading the memory!
/// The callback to be called when memory is written.
/// This will be called in place of actually writing the memory!
fn callback(&mut self, state: &mut State, address: u16, byte: u8);
}