mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -05:00
Minor docs note about C++ behavior
This commit is contained in:
parent
3240282354
commit
a5c8bbb05b
@ -71,7 +71,7 @@ where
|
|||||||
if token_length > 0 {
|
if token_length > 0 {
|
||||||
// FIXME: Unwrap is unjustified here
|
// FIXME: Unwrap is unjustified here
|
||||||
// Currently just assume that people are going to be nice about the token buffer
|
// 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
|
self.buffer
|
||||||
.put_slice(
|
.put_slice(
|
||||||
size_of::<TerminateDriverDefn>() as IndexT,
|
size_of::<TerminateDriverDefn>() as IndexT,
|
||||||
|
Loading…
Reference in New Issue
Block a user