Skip to content

Commit 4e7d114

Browse files
uhthomasUebelAndre
andauthored
Fix typo in render config doc (#1281)
Co-authored-by: UebelAndre <[email protected]>
1 parent db17f29 commit 4e7d114

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crate_universe/private/generate_utils.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def render_config(
116116
available format keys are [`{repository}`, `{name}`, `{version}`].
117117
crates_module_template (str, optional): The pattern to use for the `defs.bzl` and `BUILD.bazel`
118118
file names used for the crates module. The available format keys are [`{file}`].
119-
default_package_name (str, optional): The default package name to in the rendered macros. This affects the
119+
default_package_name (str, optional): The default package name to use in the rendered macros. This affects the
120120
auto package detection of things like `all_crate_deps`.
121121
platforms_template (str, optional): The base template to use for platform names.
122122
See [platforms documentation](https://docs.bazel.build/versions/main/platforms.html). The available format

docs/crate_universe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ can be found below where the supported keys for each template can be found in th
405405
| <a id="render_config-crate_label_template"></a>crate_label_template | The base template to use for crate labels. The available format keys are [<code>{repository}</code>, <code>{name}</code>, <code>{version}</code>, <code>{target}</code>]. | <code>"@{repository}__{name}-{version}//:{target}"</code> |
406406
| <a id="render_config-crate_repository_template"></a>crate_repository_template | The base template to use for Crate label repository names. The available format keys are [<code>{repository}</code>, <code>{name}</code>, <code>{version}</code>]. | <code>"{repository}__{name}-{version}"</code> |
407407
| <a id="render_config-crates_module_template"></a>crates_module_template | The pattern to use for the <code>defs.bzl</code> and <code>BUILD.bazel</code> file names used for the crates module. The available format keys are [<code>{file}</code>]. | <code>"//:{file}"</code> |
408-
| <a id="render_config-default_package_name"></a>default_package_name | The default package name to in the rendered macros. This affects the auto package detection of things like <code>all_crate_deps</code>. | <code>None</code> |
408+
| <a id="render_config-default_package_name"></a>default_package_name | The default package name to use in the rendered macros. This affects the auto package detection of things like <code>all_crate_deps</code>. | <code>None</code> |
409409
| <a id="render_config-platforms_template"></a>platforms_template | The base template to use for platform names. See [platforms documentation](https://docs.bazel.build/versions/main/platforms.html). The available format keys are [<code>{triple}</code>]. | <code>"@rules_rust//rust/platform:{triple}"</code> |
410410
| <a id="render_config-vendor_mode"></a>vendor_mode | An optional configuration for rendirng content to be rendered into repositories. | <code>None</code> |
411411

0 commit comments

Comments
 (0)