Skip to content

Commit

Permalink
Modernize Starlark type syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 26, 2023
1 parent 0cbe6fa commit a689a17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/buck/prelude
Submodule prelude updated 226 files
6 changes: 3 additions & 3 deletions tools/buck/rust_cxx_bridge.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def rust_cxx_bridge(
name: str.type,
src: str.type,
deps: [str.type] = []):
name: str,
src: str,
deps: list[str] = []):
native.export_file(
name = "%s/header" % name,
src = ":%s/generated[generated.h]" % name,
Expand Down

0 comments on commit a689a17

Please sign in to comment.