chore: format
This commit is contained in:
parent
dbaeb13c11
commit
58d4fe2cc6
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs ? (import <nixpkgs>) { }, lib ? pkgs.lib}:
|
{ pkgs ? (import <nixpkgs>) { }, lib ? pkgs.lib }:
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [ cargo rustc rustfmt ];
|
buildInputs = with pkgs; [ cargo rustc rustfmt ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,8 +116,8 @@ pub struct Tracked {
|
||||||
|
|
||||||
pub fn build_conscrit(id: String, name: String) -> Tracked {
|
pub fn build_conscrit(id: String, name: String) -> Tracked {
|
||||||
Tracked {
|
Tracked {
|
||||||
id: id,
|
id,
|
||||||
name: name,
|
name,
|
||||||
pos: (0.0, 0.0),
|
pos: (0.0, 0.0),
|
||||||
state: TrackedState::Conscrit {
|
state: TrackedState::Conscrit {
|
||||||
invisible: false,
|
invisible: false,
|
||||||
|
@ -133,8 +133,8 @@ pub fn build_conscrit(id: String, name: String) -> Tracked {
|
||||||
|
|
||||||
pub fn build_vieux(id: String, name: String) -> Tracked {
|
pub fn build_vieux(id: String, name: String) -> Tracked {
|
||||||
Tracked {
|
Tracked {
|
||||||
id: id,
|
id,
|
||||||
name: name,
|
name,
|
||||||
pos: (0.0, 0.0),
|
pos: (0.0, 0.0),
|
||||||
state: TrackedState::Vieux {
|
state: TrackedState::Vieux {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue