diff --git a/crate_universe/private/generate_utils.bzl b/crate_universe/private/generate_utils.bzl index deb8523822..2329b557b6 100644 --- a/crate_universe/private/generate_utils.bzl +++ b/crate_universe/private/generate_utils.bzl @@ -116,7 +116,7 @@ def render_config( available format keys are [`{repository}`, `{name}`, `{version}`]. crates_module_template (str, optional): The pattern to use for the `defs.bzl` and `BUILD.bazel` file names used for the crates module. The available format keys are [`{file}`]. - default_package_name (str, optional): The default package name to in the rendered macros. This affects the + default_package_name (str, optional): The default package name to use in the rendered macros. This affects the auto package detection of things like `all_crate_deps`. platforms_template (str, optional): The base template to use for platform names. See [platforms documentation](https://docs.bazel.build/versions/main/platforms.html). The available format diff --git a/docs/crate_universe.md b/docs/crate_universe.md index dee49d611a..be44ea72bd 100644 --- a/docs/crate_universe.md +++ b/docs/crate_universe.md @@ -405,7 +405,7 @@ can be found below where the supported keys for each template can be found in th | crate_label_template | The base template to use for crate labels. The available format keys are [{repository}, {name}, {version}, {target}]. | "@{repository}__{name}-{version}//:{target}" | | crate_repository_template | The base template to use for Crate label repository names. The available format keys are [{repository}, {name}, {version}]. | "{repository}__{name}-{version}" | | crates_module_template | The pattern to use for the defs.bzl and BUILD.bazel file names used for the crates module. The available format keys are [{file}]. | "//:{file}" | -| default_package_name | The default package name to in the rendered macros. This affects the auto package detection of things like all_crate_deps. | None | +| default_package_name | The default package name to use in the rendered macros. This affects the auto package detection of things like all_crate_deps. | None | | 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 [{triple}]. | "@rules_rust//rust/platform:{triple}" | | vendor_mode | An optional configuration for rendirng content to be rendered into repositories. | None |