Fix wrong naming in main error enum

pull/166/head
Dominik Nakamura 4 years ago
parent a9f2833cfd
commit 762a53c729
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910
  1. 2
      src/error.rs

@ -43,7 +43,7 @@ pub enum Error {
/// Note that this error variant is enabled unconditionally even if no TLS feature is enabled,
/// to provide a feature-agnostic API surface.
#[error("TLS error: {0}")]
TlsNative(#[from] TlsError),
Tls(#[from] TlsError),
/// - When reading: buffer capacity exhausted.
/// - When writing: your message is bigger than the configured max message size
/// (64MB by default).

Loading…
Cancel
Save