aboutsummaryrefslogtreecommitdiff
path: root/src/model/snapshot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/snapshot.rs')
-rw-r--r--src/model/snapshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/snapshot.rs b/src/model/snapshot.rs
index 36f9ec7d..87756f60 100644
--- a/src/model/snapshot.rs
+++ b/src/model/snapshot.rs
@@ -20,7 +20,7 @@ static SNAPSHOT_MUTEX: Mutex<()> = Mutex::new(());
// ================ snapshotting logic =====================
-/// Run snashot_metadata in a blocking thread and async await on it
+/// Run snapshot_metadata in a blocking thread and async await on it
pub async fn async_snapshot_metadata(garage: &Arc<Garage>) -> Result<(), Error> {
let garage = garage.clone();
let worker = tokio::task::spawn_blocking(move || snapshot_metadata(&garage));