Skip to content

Commit

Permalink
Run cargo fmt --all.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Jan 10, 2024
1 parent baa8653 commit b219161
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 30 deletions.
2 changes: 1 addition & 1 deletion examples/envman/src/cmds/common.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{app_name},
cfg::app_name,
cmd::ctx::CmdCtx,
rt_model::{output::OutputWrite, Workspace, WorkspaceSpec},
};
Expand Down
2 changes: 1 addition & 1 deletion examples/envman/src/cmds/profile_list_cmd.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{app_name},
cfg::app_name,
cmd::{ctx::CmdCtx, scopes::MultiProfileNoFlowView},
fmt::presentable::{Heading, HeadingLevel},
rt_model::{output::OutputWrite, Workspace, WorkspaceSpec},
Expand Down
2 changes: 1 addition & 1 deletion examples/envman/src/cmds/profile_switch_cmd.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{app_name},
cfg::app_name,
cmd::{ctx::CmdCtx, scopes::MultiProfileNoFlowView},
rt_model::output::OutputWrite,
};
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/cmd_model/cmd_block_outcome.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
cmd_model::{CmdBlockOutcome, StreamOutcomeAndErrors, ValueAndStreamOutcome},
rt_model::{fn_graph::StreamOutcome, IndexMap},
};
Expand Down
6 changes: 1 addition & 5 deletions workspace_tests/src/cmd_model/item_stream_outcome.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use peace::{
cfg::{item_id},
cmd_model::ItemStreamOutcome,
rt_model::fn_graph::StreamOutcomeState,
};
use peace::{cfg::item_id, cmd_model::ItemStreamOutcome, rt_model::fn_graph::StreamOutcomeState};

#[test]
fn map() {
Expand Down
12 changes: 6 additions & 6 deletions workspace_tests/src/params/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ mod struct_params {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down Expand Up @@ -269,7 +269,7 @@ mod struct_with_type_params {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down Expand Up @@ -489,7 +489,7 @@ mod tuple_params {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down Expand Up @@ -665,7 +665,7 @@ mod tuple_with_type_params {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down Expand Up @@ -866,7 +866,7 @@ mod enum_params {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down Expand Up @@ -1499,7 +1499,7 @@ mod struct_recursive_value {
use serde::{Deserialize, Serialize};

use peace::{
cfg::{item_id},
cfg::item_id,
params::{Params, ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec},
resources::{resources::ts::SetUp, Resources},
};
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/params/params_spec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
params::{
AnySpecRt, AnySpecRtBoxed, FieldNameAndType, FieldWiseSpecRt, Params, ParamsResolveError,
ParamsSpec, ValueResolutionCtx, ValueResolutionMode, ValueSpec, ValueSpecRt,
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/params/params_spec_fieldless.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
params::{
AnySpecRt, AnySpecRtBoxed, ParamsFieldless, ParamsResolveError, ParamsSpecFieldless,
ValueResolutionCtx, ValueResolutionMode, ValueSpecRt,
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/params/params_specs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
params::{ParamsSpec, ParamsSpecs},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/params/value_resolution_ctx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
params::{FieldNameAndType, ValueResolutionCtx, ValueResolutionMode},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/params/value_spec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
params::{
AnySpecRt, AnySpecRtBoxed, ParamsResolveError, ValueResolutionCtx, ValueResolutionMode,
ValueSpec, ValueSpecRt,
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/resources/internal/state_diffs_mut.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
resources::{internal::StateDiffsMut, type_reg::untagged::TypeMap},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/resources/internal/states_mut.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
resources::{internal::StatesMut, states::ts::Current, type_reg::untagged::TypeMap},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{
};

use peace::{
cfg::{app_name},
cfg::app_name,
resources::{
internal::WorkspaceParamsFile,
paths::{PeaceAppDir, PeaceDir},
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/resources/state_diffs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
resources::{internal::StateDiffsMut, states::StateDiffs, type_reg::untagged::TypeMap},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/resources/states.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
resources::{internal::StatesMut, states::StatesCurrent, type_reg::untagged::TypeMap},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/rt/cmds/diff_cmd/diff_info_spec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{profile},
cfg::profile,
rt::cmds::{DiffInfoSpec, DiffStateSpec},
};

Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/rt_model/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fmt;

use peace::{
cfg::{item_id},
cfg::item_id,
miette::{GraphicalReportHandler, GraphicalTheme},
params::{ParamsSpec, ParamsSpecs},
rt_model::Error,
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/rt_model/item_boxed.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::any::TypeId;

use peace::{
cfg::{item_id},
cfg::item_id,
data::{DataAccessDyn, TypeIds},
rt_model::{ItemBoxed, ItemRt},
};
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/rt_model/item_graph.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use peace::{
cfg::{item_id},
cfg::item_id,
resources::{
internal::StatesMut,
states::{StatesCurrent, StatesSerde},
Expand Down
2 changes: 1 addition & 1 deletion workspace_tests/src/rt_model/workspace_dirs_builder.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::path::Path;

use peace::{
cfg::{app_name},
cfg::app_name,
rt_model::{Error, NativeError, WorkspaceDirsBuilder, WorkspaceSpec},
};

Expand Down

0 comments on commit b219161

Please sign in to comment.