Skip to content

Commit 7621eb8

Browse files
committed
Update to core v0.5
1 parent de1e026 commit 7621eb8

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rlbot_flatbuffers"
3-
version = "0.14.7"
3+
version = "0.15.0"
44
edition = "2024"
55
description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
66
repository = "https://github.com/VirxEC/rlbot_flatbuffers_py"

codegen/structs.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,10 @@ impl StructBindGenerator {
558558
if *is_optional {
559559
write_fmt!(self, " self.{variable_name}");
560560
write_str!(self, " .as_ref()");
561-
write_str!(self, " .map_or_else(crate::none_str, |i| i.borrow(py).inner_repr(py)),");
561+
write_str!(
562+
self,
563+
" .map_or_else(crate::none_str, |i| i.borrow(py).inner_repr(py)),"
564+
);
562565
} else {
563566
write_fmt!(self, " self.{variable_name}.borrow(py).inner_repr(py),");
564567
}

0 commit comments

Comments
 (0)