aboutsummaryrefslogtreecommitdiff
path: root/src/tool/rect_room_tool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool/rect_room_tool.rs')
-rw-r--r--src/tool/rect_room_tool.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool/rect_room_tool.rs b/src/tool/rect_room_tool.rs
index 7cb85bb..9445787 100644
--- a/src/tool/rect_room_tool.rs
+++ b/src/tool/rect_room_tool.rs
@@ -19,6 +19,7 @@ pub struct RectRoomTool {
impl RectRoomTool {
/// Create a new room tool where no rooms have been drawn yet. Should be created only once per
/// program instance and by the editor.
+ #[allow(clippy::new_without_default)]
pub fn new() -> Self {
Self {
unfinished_rect: None,