Skip to content

Commit f64253a

Browse files
committed
Update +style_edition
1 parent b56da18 commit f64253a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ group_imports = "StdExternalCrate"
33
imports_granularity = "Module"
44
newline_style = "Unix"
55
normalize_comments = true
6+
style_edition = "2024"
67
unstable_features = true
78
use_field_init_shorthand = true
8-
version = "Two"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::borrow::Cow;
22
use std::env::args;
33
use std::fmt;
4-
use std::str::{from_utf8, Utf8Error};
4+
use std::str::{Utf8Error, from_utf8};
55

66
use tmpls::{Benchmark, BigTable, Output, Teams};
77

tmpls/horrorshow/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use horrorshow::{html, Error, Template};
1+
use horrorshow::{Error, Template, html};
22
use tmpls::{BigTable, Teams};
33

44
#[derive(Debug, Default)]

tmpls/tinytemplate/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use tinytemplate::error::Error;
21
use tinytemplate::TinyTemplate;
2+
use tinytemplate::error::Error;
33
use tmpls::{BigTable, Teams};
44

55
pub struct Benchmark {

0 commit comments

Comments
 (0)