Skip to content

Commit

Permalink
cargo fmt #32
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Dec 5, 2021
1 parent 577b5a4 commit 69eb47c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/storage/src/content_manager/storage_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct CreateAlias {
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub struct DeleteAlias {
pub alias_name: String
pub alias_name: String,
}

/// Change alias to a new one
Expand Down
5 changes: 4 additions & 1 deletion lib/storage/tests/alias_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ use tokio::runtime::Runtime;
mod tests {
use super::*;
use segment::types::Distance;
use storage::content_manager::storage_ops::{AliasOperations, ChangeAliasesOperation, CreateAlias, CreateCollectionOperation, DeleteAlias, RenameAlias, StorageOperations};
use storage::content_manager::storage_ops::{
AliasOperations, ChangeAliasesOperation, CreateAlias, CreateCollectionOperation,
DeleteAlias, RenameAlias, StorageOperations,
};

#[test]
fn test_alias_operation() {
Expand Down

0 comments on commit 69eb47c

Please sign in to comment.