WIP: Apply cargo fmt checks
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -1,19 +1,17 @@
|
|||||||
use lib::{self, metadata::Metadata, track::Track};
|
use lib::{self, metadata::Metadata, track::Track};
|
||||||
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
let mut current_project = lib::project::Project {
|
||||||
let mut current_project = lib::project::Project{
|
|
||||||
name: "test".to_string(),
|
name: "test".to_string(),
|
||||||
tracks: None,
|
tracks: None,
|
||||||
regions: None,
|
regions: None,
|
||||||
current_sample: 0
|
current_sample: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
let track = Track{
|
let track = Track {
|
||||||
metadata: Metadata::new("test".to_string()),
|
metadata: Metadata::new("test".to_string()),
|
||||||
track_type: lib::track::TrackType::Audio,
|
track_type: lib::track::TrackType::Audio,
|
||||||
active: true
|
active: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
current_project.tracks = Some(vec![track]);
|
current_project.tracks = Some(vec![track]);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
pub mod metadata;
|
pub mod metadata;
|
||||||
|
|
||||||
|
pub mod project;
|
||||||
pub mod region;
|
pub mod region;
|
||||||
pub mod track;
|
pub mod track;
|
||||||
pub mod project;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user