#1009: explicit imports

This commit is contained in:
bflatastic
2026-10-24 13:01:47 +07:00
parent a0bd65f7b4
commit 5376e4d25d
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
use serde_json::{Value, json};
use crate::cmd::CommandSpec;
use crate::params::*;
use crate::params::{get, id, id_of, num_or, string};
use crate::{Result, Session, bad, spec};
const CMD: &str = "data.fill";
+1 -1
View File
@@ -3,7 +3,7 @@
use crate::Session;
use crate::components::tests::{ex, idv};
use figcraft_doc::*;
use figcraft_doc::{NodeId, NodeKind};
use serde_json::json;
/// A 1080×1350 "Post" with "Title" and "Price" texts and a "Badge" rectangle. Returns the frame.
+2 -2
View File
@@ -5,11 +5,11 @@
//! with a no-break space. Every style run scales by the same factor, so mixed sizes keep their
//! proportions.
use figcraft_doc::*;
use figcraft_doc::{NodeKind, TextAutoResize, TextData};
use serde_json::{Value, json};
use crate::cmd::CommandSpec;
use crate::params::*;
use crate::params::{boolean, num, req_targets};
use crate::{Result, Session, bad, spec};
const CMD: &str = "text.fit";
+1 -1
View File
@@ -3,7 +3,7 @@
use crate::Session;
use crate::components::tests::{ex, idv};
use figcraft_doc::*;
use figcraft_doc::{NodeId, NodeKind};
use serde_json::json;
/// A fixed-width (auto-height) headline of `width` px at 64px. Returns its id.