We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b5926 commit 3355cccCopy full SHA for 3355ccc
boring/src/ssl/mod.rs
@@ -3496,7 +3496,7 @@ impl SslRef {
3496
/// This can be used to provide data to callbacks registered with the context. Use the
3497
/// `Ssl::new_ex_index` method to create an `Index`.
3498
///
3499
- /// Any previous value will be dropped and replaced by the new one.
+ /// The previous value, if any, will be returned.
3500
#[corresponds(SSL_set_ex_data)]
3501
pub fn replace_ex_data<T>(&mut self, index: Index<Ssl, T>, data: T) -> Option<T> {
3502
if let Some(old) = self.ex_data_mut(index) {
0 commit comments