diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-24 06:58:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-24 06:58:09 +0800 |
| commit | dc13fa58448b7e267fb0ba63427534127f76beca (patch) | |
| tree | 7219f10bf3da22fdbe2cf4f41719505dcb75d6d2 /mingling_core/src/program/string_vec.rs | |
| parent | dd6253ba8c37b51927ab4dc0e71f5b3a264f36b3 (diff) | |
Move flag tests to separate module and clean up deref patterns
Diffstat (limited to 'mingling_core/src/program/string_vec.rs')
| -rw-r--r-- | mingling_core/src/program/string_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/program/string_vec.rs b/mingling_core/src/program/string_vec.rs index 1ccedf4..c2e6220 100644 --- a/mingling_core/src/program/string_vec.rs +++ b/mingling_core/src/program/string_vec.rs @@ -96,7 +96,7 @@ mod tests { #[test] fn test_string_vec_deref() { let sv = StringVec::from(["alpha", "beta"]); - let inner: &Vec<String> = &*sv; + let inner: &Vec<String> = &sv; assert_eq!(inner.len(), 2); assert_eq!(inner[0], "alpha"); } |
