summaryrefslogtreecommitdiff
path: root/src/memory.rs
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2020-03-04 02:58:39 +0300
committerOxore <oxore@protonmail.com>2020-03-04 02:58:39 +0300
commit0a6fad82f83d7a79aa7eadf73a21e6e80c8e810d (patch)
tree37a7e5aad4eb9b7fe547eeff2fb1bf28814145d6 /src/memory.rs
parent52b665108f6f2203df251eec273184b142ee2e16 (diff)
Add third operand, format code
Diffstat (limited to 'src/memory.rs')
-rw-r--r--src/memory.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memory.rs b/src/memory.rs
index 372a029..3949f75 100644
--- a/src/memory.rs
+++ b/src/memory.rs
@@ -1,7 +1,8 @@
extern crate num_traits;
pub trait Memory<Addr>
- where Addr: Copy + core::ops::Add<Output = Addr> + num_traits::identities::One
+where
+ Addr: Copy + core::ops::Add<Output = Addr> + num_traits::identities::One,
{
fn get(&self, a: Addr) -> u8;