From 1d39251632e0eada44e5ab5d05e1f13fa56f9902 Mon Sep 17 00:00:00 2001 From: Cody Lamson Date: Mon, 4 May 2020 17:59:09 +0200 Subject: [PATCH] file updates for license recognition (#388) * file updates for license recognition * update rustfmt to use FILE_TEMPLATE * rename FILE_TEMPLATE to FILE_HEADER --- .rustfmt.toml | 2 +- LICENSE_TEMPLATE => FILE_HEADER | 0 LICENSE | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename LICENSE_TEMPLATE => FILE_HEADER (100%) diff --git a/.rustfmt.toml b/.rustfmt.toml index 224f58aed25..ac50f9aa0b7 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -9,7 +9,7 @@ format_code_in_doc_comments = false comment_width = 80 normalize_comments = true # changed normalize_doc_attributes = false -license_template_path = "LICENSE_TEMPLATE" # changed +license_template_path = "FILE_HEADER" # changed format_strings = false format_macro_matchers = false format_macro_bodies = true diff --git a/LICENSE_TEMPLATE b/FILE_HEADER similarity index 100% rename from LICENSE_TEMPLATE rename to FILE_HEADER diff --git a/LICENSE b/LICENSE index d6456956733..6b0b1270ff0 100644 --- a/LICENSE +++ b/LICENSE @@ -200,3 +200,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. +