diff --git a/src/ini.rs b/src/ini.rs index f6ed72c..02127cc 100755 --- a/src/ini.rs +++ b/src/ini.rs @@ -421,7 +421,7 @@ impl Ini { if multiline { let mut lines = value.lines(); - out.push_str(lines.next().unwrap()); + out.push_str(lines.next().unwrap_or_default()); for line in lines { out.push_str(LINE_ENDING);