Skip to content

Commit fbca625

Browse files
BusyJayti-chi-bot
andauthoredJun 10, 2021
*: fix license (tikv#10318)
* *: fix license The text is not in correct format and I copy one from https://www.apache.org/licenses/LICENSE-2.0.txt. Signed-off-by: Jay Lee <BusyJayLee@gmail.com> * fix misleading license template Signed-off-by: Jay Lee <BusyJayLee@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
1 parent 47866aa commit fbca625

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎LICENSE

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache License
1+
Apache License
22
Version 2.0, January 2004
33
http://www.apache.org/licenses/
44

@@ -178,15 +178,15 @@ Apache License
178178
APPENDIX: How to apply the Apache License to your work.
179179

180180
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "{}"
181+
boilerplate notice, with the fields enclosed by brackets "[]"
182182
replaced with your own identifying information. (Don't include
183183
the brackets!) The text should be enclosed in the appropriate
184184
comment syntax for the file format. We also recommend that a
185185
file or class name and description of purpose be included on the
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright {}
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.
File renamed without changes.

‎rustfmt.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version = "Two"
22
unstable_features = true
33

44
condense_wildcard_suffixes = true
5-
license_template_path = "license.template"
5+
license_template_path = "etc/license.template"
66
newline_style = "Unix"
77
use_field_init_shorthand = true
88
use_try_shorthand = true

0 commit comments

Comments
 (0)
Please sign in to comment.