chore: format nix file

This commit is contained in:
Noa Aarts 2024-08-22 13:47:46 +02:00
parent 9f1f23e62b
commit cb51cacf9a
2 changed files with 15 additions and 14 deletions

View file

@ -1,7 +1,7 @@
{ {
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = {self, nixpkgs, ...}: outputs = { self, nixpkgs, ... }:
let let
allSystems = [ allSystems = [
"x86_64-linux" # 64-bit Intel/AMD Linux "x86_64-linux" # 64-bit Intel/AMD Linux

View file

@ -49,6 +49,7 @@ fn get_pixel(grids: &mut [grid::FlutGrid<u32>], canvas: u8, x: u16, y: u16) -> O
} }
} }
#[inline]
fn increment_counter() { fn increment_counter() {
COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed); COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
} }