Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Jun 1, 2024
1 parent 55adc99 commit ecc0656
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gdrust/src/fight_items.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mod block;
mod block;
6 changes: 3 additions & 3 deletions gdrust/src/fight_items/block.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use godot::engine::{INode2D, Node2D};
use godot::prelude::*;
use godot::engine::{Node2D, INode2D};

#[derive(GodotClass)]
#[class(base = Node2D)]
struct BlockDrawer {
base: Base<Node2D>
base: Base<Node2D>,
}

#[godot_api]
Expand All @@ -13,4 +13,4 @@ impl INode2D for BlockDrawer {
// godot_print!("BlockDrawer created from Godot Rust");
Self { base }
}
}
}
1 change: 0 additions & 1 deletion gdrust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ struct GdExtension;

#[gdextension()]
unsafe impl ExtensionLibrary for GdExtension {}

2 changes: 1 addition & 1 deletion gdrust/src/player.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use godot::prelude::*;
use godot::engine::{Area2D, IArea2D};
use godot::prelude::*;

#[derive(GodotClass)]
#[class(base = Area2D)]
Expand Down

0 comments on commit ecc0656

Please sign in to comment.