mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
rustfmt the codebase
This commit is contained in:
parent
fea303ac8b
commit
7fb9aa2115
45 changed files with 766 additions and 764 deletions
|
|
@ -1,18 +1,11 @@
|
|||
use std::{
|
||||
path::{PathBuf, Path},
|
||||
};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use rbx_dom_weak::{RbxTree, RbxId};
|
||||
use rbx_dom_weak::{RbxId, RbxTree};
|
||||
|
||||
use crate::{
|
||||
imfs::{
|
||||
new::{Imfs, ImfsEntry, ImfsFetcher, ImfsSnapshot},
|
||||
FsResult,
|
||||
new::{
|
||||
Imfs,
|
||||
ImfsEntry,
|
||||
ImfsFetcher,
|
||||
ImfsSnapshot,
|
||||
},
|
||||
},
|
||||
snapshot::InstanceSnapshot,
|
||||
};
|
||||
|
|
@ -26,14 +19,9 @@ pub trait SnapshotMiddleware {
|
|||
entry: &ImfsEntry,
|
||||
) -> SnapshotInstanceResult<'static>;
|
||||
|
||||
fn from_instance(
|
||||
tree: &RbxTree,
|
||||
id: RbxId,
|
||||
) -> SnapshotFileResult;
|
||||
fn from_instance(tree: &RbxTree, id: RbxId) -> SnapshotFileResult;
|
||||
|
||||
fn change_affects_paths(
|
||||
path: &Path
|
||||
) -> Vec<PathBuf> {
|
||||
fn change_affects_paths(path: &Path) -> Vec<PathBuf> {
|
||||
vec![path.to_path_buf()]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue