Skip to content

Commit 66a4248

Browse files
committed
Formatting
1 parent 67037bd commit 66a4248

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

plugins/java/src/java_plugin.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,9 @@ pub(crate) trait JavaPlugin: LanguagePlugin {
286286
#[cfg(test)]
287287
#[allow(clippy::unwrap_used)]
288288
mod test {
289-
use std::io::{Read, Seek};
290-
291289
use super::*;
292290
use crate::SEPARATOR;
291+
use std::io::{Read, Seek};
293292
use tmc_langs_framework::{nom, Archive, TmcError};
294293

295294
fn init() {

tmc-langs-framework/src/archive.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
use crate::TmcError;
12
use serde::Deserialize;
2-
use std::io::{BufReader, Cursor, Read, Seek};
3-
use std::ops::ControlFlow::{self, Break};
4-
use std::path::{Path, PathBuf};
5-
use std::{fmt::Display, str::FromStr};
3+
use std::{
4+
fmt::Display,
5+
io::{BufReader, Cursor, Read, Seek},
6+
ops::ControlFlow::{self, Break},
7+
path::{Path, PathBuf},
8+
str::FromStr,
9+
};
610
#[cfg(feature = "ts")]
711
use ts_rs::TS;
812

9-
use crate::TmcError;
10-
1113
/// Wrapper unifying the API of all the different compression formats supported by langs.
1214
/// Unfortunately the API is more complicated due to tar only supporting iterating through the files one by one,
1315
/// while zip only supports accessing by index.

0 commit comments

Comments
 (0)