diff --git a/src/db.rs b/src/db.rs
index dd2a061..8cdf53a 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -683,11 +683,12 @@ impl DB {
/// Open a database with the given database options and column family names.
///
/// Column families opened using this function will be created with default `Options`.
- pub fn open_cf
(opts: &Options, path: P, cfs: I) -> Result
- where P: AsRef,
- I: IntoIterator- ,
- N: AsRef {
-
+ pub fn open_cf
(opts: &Options, path: P, cfs: I) -> Result
+ where
+ P: AsRef,
+ I: IntoIterator- ,
+ N: AsRef,
+ {
let cfs = cfs
.into_iter()
.map(|name| ColumnFamilyDescriptor::new(name.as_ref(), Options::default()));
@@ -696,17 +697,12 @@ impl DB {
}
/// Open a database with the given database options and column family descriptors.
- pub fn open_cf_descriptors
(
- opts: &Options,
- path: P,
- cfs: I,
- ) -> Result
- where P: AsRef,
- I: IntoIterator- {
-
- let cfs: Vec<_> = cfs
- .into_iter()
- .collect();
+ pub fn open_cf_descriptors
(opts: &Options, path: P, cfs: I) -> Result
+ where
+ P: AsRef,
+ I: IntoIterator- ,
+ {
+ let cfs: Vec<_> = cfs.into_iter().collect();
let path = path.as_ref();
let cpath = match CString::new(path.to_string_lossy().as_bytes()) {