Files
flatbuffers/tests
naure 034275c6e2 Rust: Fix lifetime in union _as_ accessors (#5140)
* Fix lifetime in union _as_ accessors

In the accessors for union field, the return value is implicitly taking the lifetime of &self.
This is irrelevant and prevents usages of the returned value, because it is needlessly bound to the parent field lifetime.

This patch makes the return value inherit the lifetime of the data, like other methods do.
2019-02-26 23:48:54 -08:00
..
2018-10-29 17:40:19 -07:00
2018-12-27 20:57:19 -05:00
2018-12-27 20:57:19 -05:00
2018-10-03 12:27:27 -07:00