lint fix
This commit is contained in:
parent
9d73a37f1a
commit
6d22e430ca
@ -32,7 +32,8 @@ pub struct JsonDatabase<JDB> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<JDB: JsonDatabaseBackend> JsonDatabase<JDB> {
|
impl<JDB: JsonDatabaseBackend> JsonDatabase<JDB> {
|
||||||
/// Create a new JSON database with the provided backend, e.g. [`JsonDatabaseFileBackend`].
|
/// Create a new JSON database with the provided backend, e.g.
|
||||||
|
/// [`backend::JsonDatabaseFileBackend`].
|
||||||
pub fn new(backend: JDB) -> Self {
|
pub fn new(backend: JDB) -> Self {
|
||||||
JsonDatabase { backend }
|
JsonDatabase { backend }
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,8 @@ trait LibraryPrivate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<BLE: BeetsLibraryExecutor> BeetsLibrary<BLE> {
|
impl<BLE: BeetsLibraryExecutor> BeetsLibrary<BLE> {
|
||||||
/// Create a new beets library with the provided executor, e.g. [`BeetsLibraryProcessExecutor`].
|
/// Create a new beets library with the provided executor, e.g.
|
||||||
|
/// [`executor::BeetsLibraryProcessExecutor`].
|
||||||
pub fn new(executor: BLE) -> Self {
|
pub fn new(executor: BLE) -> Self {
|
||||||
BeetsLibrary { executor }
|
BeetsLibrary { executor }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user