mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-22 00:08:56 +08:00
Rustfmt
This commit is contained in:
@@ -196,7 +196,12 @@ pub enum DatabaseName<'a> {
|
||||
|
||||
// Currently DatabaseName is only used by the backup and blob mods, so hide
|
||||
// this (private) impl to avoid dead code warnings.
|
||||
#[cfg(any(feature = "backup", feature = "blob", feature = "session", feature = "bundled"))]
|
||||
#[cfg(any(
|
||||
feature = "backup",
|
||||
feature = "blob",
|
||||
feature = "session",
|
||||
feature = "bundled"
|
||||
))]
|
||||
impl<'a> DatabaseName<'a> {
|
||||
fn to_cstring(&self) -> Result<CString> {
|
||||
use self::DatabaseName::{Attached, Main, Temp};
|
||||
|
Reference in New Issue
Block a user