Skip to content

Commit b5d3320

Browse files
Fix error message formatting in rust_proto_library
PiperOrigin-RevId: 678386953
1 parent 3163111 commit b5d3320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def rust_proto_library(name, deps, **args):
2828
"""
2929
if not name.endswith("_rust_proto"):
3030
fail(
31-
"{}: Name rust_proto_library target should end with `_rust_proto`, but was '{}'"
31+
"Name rust_proto_library target should end with `_rust_proto`, but was '{}'"
3232
.format(name),
3333
)
3434
name = name.removesuffix("_rust_proto")

0 commit comments

Comments
 (0)