From 3fa553a688e4e082034b9a1f9689b02fcd31ab95 Mon Sep 17 00:00:00 2001 From: marvin-j97 Date: Wed, 17 Apr 2024 18:37:18 +0200 Subject: [PATCH] update msrv --- .github/workflows/test.yml | 2 +- smoltable/src/column_key.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff5dfbb..1a62e72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: matrix: rust_version: - stable - - "1.75.0" # MSRV + - "1.74.0" # MSRV os: - ubuntu-latest - windows-latest diff --git a/smoltable/src/column_key.rs b/smoltable/src/column_key.rs index c6907e9..5564f00 100644 --- a/smoltable/src/column_key.rs +++ b/smoltable/src/column_key.rs @@ -25,7 +25,7 @@ pub struct ColumnKey { impl ColumnKey { pub fn build_key(&self, row_key: &str) -> String { match &self.qualifier { - Some(cq) => format!("{row_key}:{}:{}:", self.family, cq), + Some(cq) => format!("{row_key}:{}:{cq}:", self.family), None => format!("{row_key}:{}:", self.family), } }