mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Bump ron to 0.10.1 (#6861)
This should help `cargo-deny` be at peace with https://github.com/emilk/egui/pull/6860, pending https://github.com/gfx-rs/wgpu/pull/7557.
This commit is contained in:
@@ -207,7 +207,8 @@ fn save_to_disk(file_path: &PathBuf, kv: &HashMap<String, String>) {
|
||||
let config = Default::default();
|
||||
|
||||
profiling::scope!("ron::serialize");
|
||||
if let Err(err) = ron::ser::to_writer_pretty(&mut writer, &kv, config)
|
||||
if let Err(err) = ron::Options::default()
|
||||
.to_io_writer_pretty(&mut writer, &kv, config)
|
||||
.and_then(|_| writer.flush().map_err(|err| err.into()))
|
||||
{
|
||||
log::warn!("Failed to serialize app state: {}", err);
|
||||
|
||||
Reference in New Issue
Block a user