aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/data_overflow.rs
diff options
context:
space:
mode:
authorGravatar Daniel Egger <daniel@eggers-club.de> 2020-07-21 01:29:57 +0200
committerGravatar Daniel Egger <daniel@eggers-club.de> 2020-07-21 01:39:46 +0200
commit05f19e7ffccd376fca5cbc80f37faee44aaafff2 (patch)
tree5ba487d23bf975d55c66a48b955c6b4288930e82 /cortex-m-rt/examples/data_overflow.rs
parent282d64bf688c7cb76efe5394a7cf56275b2a919c (diff)
downloadcortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.tar.gz
cortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.tar.zst
cortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.zip
Run rustfmt to make CI happier
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Diffstat (limited to 'cortex-m-rt/examples/data_overflow.rs')
-rw-r--r--cortex-m-rt/examples/data_overflow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/examples/data_overflow.rs b/cortex-m-rt/examples/data_overflow.rs
index ea48b23..a84ec12 100644
--- a/cortex-m-rt/examples/data_overflow.rs
+++ b/cortex-m-rt/examples/data_overflow.rs
@@ -13,11 +13,11 @@ use core::ptr;
use rt::entry;
// This large static array uses most of .rodata
-static RODATA: [u8; 48*1024] = [1u8; 48*1024];
+static RODATA: [u8; 48 * 1024] = [1u8; 48 * 1024];
// This large mutable array causes .data to use the rest of FLASH
// without also overflowing RAM.
-static mut DATA: [u8; 16*1024] = [1u8; 16*1024];
+static mut DATA: [u8; 16 * 1024] = [1u8; 16 * 1024];
#[entry]
fn main() -> ! {