Skip to content

Commit

Permalink
Fix error message formatting in rust_proto_library
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 678386953
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Sep 24, 2024
1 parent 3163111 commit b5d3320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def rust_proto_library(name, deps, **args):
"""
if not name.endswith("_rust_proto"):
fail(
"{}: Name rust_proto_library target should end with `_rust_proto`, but was '{}'"
"Name rust_proto_library target should end with `_rust_proto`, but was '{}'"
.format(name),
)
name = name.removesuffix("_rust_proto")
Expand Down

0 comments on commit b5d3320

Please sign in to comment.