@@ -142,7 +142,7 @@ rust_binary(
142142"""
143143
144144def _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
146146
147147 Args:
148148 repository_ctx (repository_ctx): The rule's context object.
@@ -169,7 +169,7 @@ def _detect_changes(repository_ctx):
169169 Args:
170170 repository_ctx (repository_ctx): The rule's context object.
171171 """
172- # Simply generating a `path` object consideres the file as 'tracked' or
172+ # Simply generating a `path` object considered the file as 'tracked' or
173173 # 'consumed' which means changes to it will trigger rebuilds
174174
175175 for src in repository_ctx .attr .srcs :
@@ -229,7 +229,7 @@ def _cargo_bootstrap_repository_impl(repository_ctx):
229229 timeout = repository_ctx .attr .timeout ,
230230 )
231231
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
233233 repository_ctx .symlink (built_binary , binary_name )
234234
235235 repository_ctx .file ("BUILD.bazel" , _BUILD_FILE_CONTENT .format (
@@ -267,7 +267,7 @@ cargo_bootstrap_repository = repository_rule(
267267 mandatory = True ,
268268 ),
269269 "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." ,
271271 default = True ,
272272 ),
273273 "env" : attr .string_dict (
@@ -303,7 +303,7 @@ cargo_bootstrap_repository = repository_rule(
303303 default = "@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}" ,
304304 ),
305305 "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" ,
307307 allow_files = True ,
308308 ),
309309 "timeout" : attr .int (
0 commit comments