From a5c8bbb05be5466d761cbed11e83e400dda669cd Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 7 Nov 2019 22:53:42 -0500 Subject: [PATCH] Minor docs note about C++ behavior --- aeron-rs/src/command/terminate_driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeron-rs/src/command/terminate_driver.rs b/aeron-rs/src/command/terminate_driver.rs index 21ce6dc..2782e93 100644 --- a/aeron-rs/src/command/terminate_driver.rs +++ b/aeron-rs/src/command/terminate_driver.rs @@ -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::() as IndexT,