mirror of https://github.com/helix-editor/helix
Fix compatibility with toml 0.6.0
`toml::from_slice` has been removed. The CHANGELOG recommends using `toml::from_str` instead and doing the byte-to-str conversion yourself. The `toml::toml!` macro has also changed to return the type of the value declared within the macro body. In the change in `helix-view/src/theme.rs` this is a `toml::map::Map` (it was a `toml::Value` previously) allowing us to skip the match and use the map directly. Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>pull/5185/head
parent
52d854fa62
commit
b3e9f6233a
Loading…
Reference in New Issue