Sergey closed issue #2: Unwrap cause panic at CalmiraLinux / Console Applications

Sergey
2023-06-18T14:55:44Z

https://gitlab.com/calmiralinux/console_apps/-/blame/master/src/ver/src/main.rs#L27
unwrap() будеь генерить panic и выводить чтото типа этого:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: Wanted { expected: "an equals", found: "a newline" }, line: Some(0), col: 5, at: Some(5), message: "", key: [] } }', src/main.rs:17:41