Skip to content

Commit e94f92c

Browse files
committed
Set MSRV to 1.81
This will allow the CI system to ensure changes are backwards compatible. The version was chosen using `cargo msrv`. Change-type: patch
1 parent e14b63e commit e94f92c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "mahler"
33
version = "0.19.4"
44
edition = "2021"
5+
rust-version = "1.81"
56
description = "An automated job orchestration library that builds and executes dynamic workflows"
67
homepage = "https://github.com/balena-io-modules/mahler-rs"
78
keywords = ["job", "orchestration", "workflow", "library"]

src/extract/view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ mod tests {
393393

394394
assert_eq!(view.as_ref(), None);
395395

396-
let value = view.get_or_insert_default();
396+
let value = view.get_or_insert(0);
397397
*value = 3;
398398

399399
// Get the list changes to the view

0 commit comments

Comments
 (0)