We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d4336 commit 4fc965cCopy full SHA for 4fc965c
crates/tests/libs/registry/tests/volatile.rs
@@ -21,11 +21,7 @@ fn volatile() {
21
assert_eq!(key.get_u64("test_value").unwrap(), 12345u64);
22
23
// Verify the key was created (can be opened without create)
24
- let read_key = CURRENT_USER
25
- .options()
26
- .read()
27
- .open(test_key)
28
- .unwrap();
+ let read_key = CURRENT_USER.options().read().open(test_key).unwrap();
29
30
assert_eq!(read_key.get_u64("test_value").unwrap(), 12345u64);
31
@@ -54,4 +50,4 @@ fn non_volatile_default() {
54
50
55
51
// Clean up
56
52
_ = CURRENT_USER.remove_tree(test_key);
57
-}
53
+}
0 commit comments