Skip to content

Commit

Permalink
Migrate to Rust 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 13, 2022
1 parent 1efe61d commit 2b527ae
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use_try_shorthand = true

# Set the default settings again to always apply the proper formatting without
# being affected by the editor settings.
edition = "2018"
edition = "2021"
hard_tabs = false
newline_style = "Unix"
tab_spaces = 4
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-llvm-cov"
version = "0.4.6" #publish:version
edition = "2018"
edition = "2021"
rust-version = "1.56"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/taiki-e/cargo-llvm-cov"
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ mod fs;

use std::{
collections::HashMap,
convert::TryInto,
ffi::{OsStr, OsString},
fmt::Write as _,
path::Path,
Expand Down
1 change: 0 additions & 1 deletion tests/auxiliary/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use std::{
convert::TryInto,
env,
ffi::OsStr,
io::{Read, Seek, Write},
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/crates/coverage_helper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "no_coverage_coverage_helper"
version = "0.0.0"
edition = "2018"
edition = "2021"

[workspace]

Expand Down

0 comments on commit 2b527ae

Please sign in to comment.