From 16183467efe454b76dd2dffe1f8667d80766a892 Mon Sep 17 00:00:00 2001 From: Jordan Terrell Date: Wed, 28 Nov 2018 07:10:48 -0600 Subject: [PATCH] Changing comments to doc-comments [skip ci] --- tests/util/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/util/mod.rs b/tests/util/mod.rs index 196897f..e94413e 100644 --- a/tests/util/mod.rs +++ b/tests/util/mod.rs @@ -5,14 +5,14 @@ use std::path::{PathBuf, Path}; use rocksdb::{DB, Options}; -// Ensures that DB::Destroy is called for this database when DBPath is dropped. +/// Ensures that DB::Destroy is called for this database when DBPath is dropped. pub struct DBPath { path: PathBuf } impl DBPath { - // Suffixes the given `prefix` with a timestamp to ensure that subsequent test runs don't reuse - // an old database in case of panics prior to Drop being called. + /// Suffixes the given `prefix` with a timestamp to ensure that subsequent test runs don't reuse + /// an old database in case of panics prior to Drop being called. pub fn new(prefix: &str) -> DBPath { let current_time = SystemTime::now().duration_since(UNIX_EPOCH).unwrap(); let path = format!(