Skip to content

Commit 50424e0

Browse files
committed
chore(query): fix lint
1 parent efa5532 commit 50424e0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/query/management/tests/it/setting.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ use common_meta_embedded::MetaEmbedded;
2222
use common_meta_types::SeqV;
2323
use common_meta_types::UserSetting;
2424
use common_meta_types::UserSettingValue;
25-
use common_meta_types::Value;
2625

2726
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
2827
async fn test_set_setting() -> Result<()> {

src/query/service/src/interpreters/interpreter_query_log.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ impl InterpreterQueryLog {
305305
.get_settings()
306306
.get_setting_values_short()
307307
{
308-
write!(session_settings, "{}={:?}, ", key, value).expect("write to string must succeed");
308+
write!(session_settings, "{}={:?}, ", key, value)
309+
.expect("write to string must succeed");
309310
}
310311
session_settings.push_str("scope: SESSION");
311312

@@ -418,7 +419,8 @@ impl InterpreterQueryLog {
418419
.get_settings()
419420
.get_setting_values_short()
420421
{
421-
write!(session_settings, "{}={:?}, ", key, value).expect("write to string must succeed");
422+
write!(session_settings, "{}={:?}, ", key, value)
423+
.expect("write to string must succeed");
422424
}
423425
session_settings.push_str("scope: SESSION");
424426

0 commit comments

Comments
 (0)