Skip to content

Commit 16db2a4

Browse files
kevinjiytmimi
authored andcommitted
Use OR operator in Cargo.toml license field
The use of `/` is deprecated, per the Cargo reference: https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
1 parent e480739 commit 16db2a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "1.6.0"
55
description = "Tool to find and fix Rust formatting issues"
66
repository = "https://github.com/rust-lang/rustfmt"
77
readme = "README.md"
8-
license = "Apache-2.0/MIT"
8+
license = "Apache-2.0 OR MIT"
99
build = "build.rs"
1010
categories = ["development-tools"]
1111
edition = "2021"

Diff for: config_proc_macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "rustfmt-config_proc_macro"
33
version = "0.3.0"
44
edition = "2018"
55
description = "A collection of procedural macros for rustfmt"
6-
license = "Apache-2.0/MIT"
6+
license = "Apache-2.0 OR MIT"
77
categories = ["development-tools::procedural-macro-helpers"]
88
repository = "https://github.com/rust-lang/rustfmt"
99

0 commit comments

Comments
 (0)