Skip to content

Commit 11a41e2

Browse files
authored
Merge pull request #70 from dtolnay/unusedassign
Fix unused assignment lint in keep/defs.bzl
2 parents b1e184f + f90b07a commit 11a41e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keep/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ load("@prelude//rust:link_info.bzl", "RustLinkInfo", "RustLinkStrategyInfo")
77
load("@toolchains//:rust.bzl", "RustcFlags")
88

99
def keep(default: str) -> (str, str):
10-
stage, subtarget = default.removeprefix("rust//").split(":")
10+
stage, _subtarget = default.removeprefix("rust//").split(":")
1111
if stage not in ["stage1", "stage2"]:
1212
fail("unexpected keep target:", default)
1313
return (default, stage)

0 commit comments

Comments
 (0)