@@ -142,7 +142,7 @@ rust_binary(
142
142
"""
143
143
144
144
def _collect_environ (repository_ctx , host_triple ):
145
- """Gather environment varialbes to use from the current rule context
145
+ """Gather environment variables to use from the current rule context
146
146
147
147
Args:
148
148
repository_ctx (repository_ctx): The rule's context object.
@@ -169,7 +169,7 @@ def _detect_changes(repository_ctx):
169
169
Args:
170
170
repository_ctx (repository_ctx): The rule's context object.
171
171
"""
172
- # Simply generating a `path` object consideres the file as 'tracked' or
172
+ # Simply generating a `path` object considered the file as 'tracked' or
173
173
# 'consumed' which means changes to it will trigger rebuilds
174
174
175
175
for src in repository_ctx .attr .srcs :
@@ -229,7 +229,7 @@ def _cargo_bootstrap_repository_impl(repository_ctx):
229
229
timeout = repository_ctx .attr .timeout ,
230
230
)
231
231
232
- # Create a symlink so that the binary can be accesed via it's target name
232
+ # Create a symlink so that the binary can be accessed via it's target name
233
233
repository_ctx .symlink (built_binary , binary_name )
234
234
235
235
repository_ctx .file ("BUILD.bazel" , _BUILD_FILE_CONTENT .format (
@@ -267,7 +267,7 @@ cargo_bootstrap_repository = repository_rule(
267
267
mandatory = True ,
268
268
),
269
269
"compressed_windows_toolchain_names" : attr .bool (
270
- doc = "Wether or not the toolchain names of windows toolchains are expected to be in a `compressed` format." ,
270
+ doc = "Whether or not the toolchain names of windows toolchains are expected to be in a `compressed` format." ,
271
271
default = True ,
272
272
),
273
273
"env" : attr .string_dict (
@@ -303,7 +303,7 @@ cargo_bootstrap_repository = repository_rule(
303
303
default = "@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}" ,
304
304
),
305
305
"srcs" : attr .label_list (
306
- doc = "Souce files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made" ,
306
+ doc = "Source files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made" ,
307
307
allow_files = True ,
308
308
),
309
309
"timeout" : attr .int (
0 commit comments