Skip to content

Commit

Permalink
Do not use the deprecated NO_TLS flag in an example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Dec 27, 2024
1 parent 442b0fe commit f5a0c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heed/src/envs/env_open_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl<T: TlsUsage> EnvOpenOptions<T> {
///
/// # fn main() -> Result<(), Box<dyn std::error::Error>> {
/// let mut env_builder = EnvOpenOptions::new();
/// unsafe { env_builder.flags(EnvFlags::NO_TLS | EnvFlags::NO_META_SYNC); }
/// unsafe { env_builder.flags(EnvFlags::NO_META_SYNC); }
/// let dir = tempfile::tempdir().unwrap();
/// let env = unsafe { env_builder.open(dir.path())? };
///
Expand Down

0 comments on commit f5a0c4f

Please sign in to comment.