chore: format

This commit is contained in:
catvayor 2025-01-15 12:16:07 +01:00
parent dbaeb13c11
commit 58d4fe2cc6
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ pkgs ? (import <nixpkgs>) { }, lib ? pkgs.lib}:
{ pkgs ? (import <nixpkgs>) { }, lib ? pkgs.lib }:
pkgs.mkShell {
buildInputs = with pkgs; [ cargo rustc rustfmt ];
}

View file

@ -116,8 +116,8 @@ pub struct Tracked {
pub fn build_conscrit(id: String, name: String) -> Tracked {
Tracked {
id: id,
name: name,
id,
name,
pos: (0.0, 0.0),
state: TrackedState::Conscrit {
invisible: false,
@ -133,8 +133,8 @@ pub fn build_conscrit(id: String, name: String) -> Tracked {
pub fn build_vieux(id: String, name: String) -> Tracked {
Tracked {
id: id,
name: name,
id,
name,
pos: (0.0, 0.0),
state: TrackedState::Vieux {
invisible: true,