1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 05:28:10 -05:00

Minor docs note about C++ behavior

This commit is contained in:
Bradlee Speice 2019-11-07 22:53:42 -05:00
parent 3240282354
commit a5c8bbb05b

View File

@ -71,7 +71,7 @@ where
if token_length > 0 {
// FIXME: Unwrap is unjustified here
// Currently just assume that people are going to be nice about the token buffer
// and not oversize it.
// and not oversize it. C++ relies on throwing an exception if bounds are violated.
self.buffer
.put_slice(
size_of::<TerminateDriverDefn>() as IndexT,