Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove redundant words in comment #4705

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def find_mismatch(class_type: Type[_T]) -> Optional[_T]:
return "".join(
[
header,
f"The provisioning profile `{mismatch.profile.file_path.name}` is the the best match; however, it has expired",
f"The provisioning profile `{mismatch.profile.file_path.name}` is the best match; however, it has expired",
f"Please download and install a valid profile from {META_IOS_PROVISIONING_PROFILES_LINK}",
footer,
]
Expand Down
2 changes: 1 addition & 1 deletion prelude/cxx/cxx_toolchain_types.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ CxxObjectFormat = enum(
PicBehavior = enum(
# Regardless of whether -fPIC is specified explicitly
# every compiled artifact will have a position-independent representation.
# This should be the the default when targeting x86_64 + arm64.
# This should be the default when targeting x86_64 + arm64.
"always_enabled",
# The -fPIC flag is known and changes the compiled artifact.
"supported",
Expand Down
6 changes: 3 additions & 3 deletions prelude/decls/cxx_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ prebuilt_cxx_library_group = prelude_rule(
"static_link": attrs.list(attrs.string(), default = [], doc = """
The arguments to use when linking this library group using the static link style.
The actual paths to libraries should be listed in the `static_libs` parameter,
and referenced via the the `$(lib [index])` macro in these args.
and referenced via the `$(lib [index])` macro in these args.
"""),
"static_libs": attrs.list(attrs.source(), default = [], doc = """
The paths to the libraries used when using the static link style.
Expand All @@ -1220,7 +1220,7 @@ prebuilt_cxx_library_group = prelude_rule(
"static_pic_link": attrs.list(attrs.string(), default = [], doc = """
The arguments to use when linking this library group using the static-pic link style.
The actual paths to libraries should be listed in the `static_pic_libs`
parameter, and referenced via the the `$(lib [index])` macro in
parameter, and referenced via the `$(lib [index])` macro in
these args.
"""),
"static_pic_libs": attrs.list(attrs.source(), default = [], doc = """
Expand All @@ -1231,7 +1231,7 @@ prebuilt_cxx_library_group = prelude_rule(
"shared_link": attrs.list(attrs.string(), default = [], doc = """
The arguments to use when linking this library group using the shared link style.
The actual paths to libraries should be listed in the `shared_libs`
parameter, and referenced via the the `$(lib [name])` macro (or the
parameter, and referenced via the `$(lib [name])` macro (or the
`$(rel-lib [name])` macro, when the shared library should be linked
using the `-L[dir] -l[name]` style) in these args.
"""),
Expand Down
2 changes: 1 addition & 1 deletion prelude/decls/erlang_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ common_application_attributes = {
"""),
"version": attrs.string(default = "1.0.0", doc = """
The `version` field specifies the applications version that is materialized as `vsn` field in the generated `*.app`
file. If you use the the `app_src` field and specify a version in the referenced template in addition to the version
file. If you use the `app_src` field and specify a version in the referenced template in addition to the version
field, the versions need to be identical.

If no version is specified in either the `app_src` template or the `version` field, a fallback version string of
Expand Down
2 changes: 1 addition & 1 deletion prelude/erlang/common_test/cth_hooks/src/cth_tpx_role.erl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%
% Let's assume we have two hooks cth_a and cth_b, and cth_a has
% higher priority than cth_b (so lower numerical value). Then
% CT will call the the hooks in the following order (we show
% CT will call the hooks in the following order (we show
% suite stuff, group and testcase is the same):
%
% cth_a:pre_init_per_suite
Expand Down
2 changes: 1 addition & 1 deletion prelude/erlang/common_test/test_exec/src/ct_runner.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

%% % @format

%% @doc Simple gen_server that will run the the test and
%% @doc Simple gen_server that will run the test and
%% communicates the result to the test runner.

-module(ct_runner).
Expand Down
2 changes: 1 addition & 1 deletion prelude/java/java_providers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def _create_non_template_providers(
library_output: optional JavaClasspathEntry that represents library output
declared_deps: declared dependencies (usually comes from `deps` field of the rule)
exported_deps: dependencies that are exposed to dependent rules as compiling deps
exported_provided_deps: dependencies that are are exposed to dependent rules and not be included into packaging
exported_provided_deps: dependencies that are exposed to dependent rules and not be included into packaging
runtime_deps: dependencies that are used for packaging only
"""
packaging_deps = declared_deps + exported_deps + runtime_deps
Expand Down
2 changes: 1 addition & 1 deletion prelude/rust/rust-analyzer/resolve_deps.bxl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _process_target_config(ctx, target, in_workspace, out_dir = None):
for dep in resolved_attrs.deps:
deps.append(dep.label.raw_target())

# Grab only the values that the the gen-rules are being mapped to.
# Grab only the values that the gen-rules are being mapped to.
mapped_srcs = {}
for key, v in resolved_attrs.mapped_srcs.items():
mapped_srcs[v] = ctx.output.ensure(key).abs_path()
Expand Down
2 changes: 1 addition & 1 deletion prelude/rust/rust_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def _native_providers(
# Proc-macros never have a native form
return []

# If advanced_unstable_linking is set on the the rust toolchain, then build this artifact
# If advanced_unstable_linking is set on the rust toolchain, then build this artifact
# using the "native-unbundled" linkage language. See LinkageLang docs for more details
advanced_unstable_linking = compile_ctx.toolchain_info.advanced_unstable_linking
lang = LinkageLang("native-unbundled") if advanced_unstable_linking else LinkageLang("native")
Expand Down
Loading