Tage Johansson

Results 10 comments of Tage Johansson

The reason is that the function `replace_with_or_abort_unchecked` is behind a feature flag. ``` #[cfg(feature = "panic_abort")] pub unsafe fn replace_with_or_abort_unchecked T>(dest: &mut T, f: F) { ... ``` Rustdoc will...

I actually had a Daisy 2.02 book which I converted to EPUB3 with [Daisy Pipeline](https://daisy.org/activities/software/pipeline-2/) because I didn't knew how to open Daisy books with Thorium. What file should I...

I would also appreciate alot to have the book in EPUB or HTML.

First I must correct myself. The example enum in my previous comment should of course not has the `deny_unknown_fields` attribute. That was the entire point. (EDIT: This is corrected now.)...

> Can you edit the original post to fix that mistake? The code snippet is quite confusing to read, currently The original post is fixed now.

> This issue is unrelated to enums. The fundamental reason is that serde parses JSON objects `{}`) into C-style structs `struct Foo {}` only. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=85abdc5bedcfb8ff0e0b9c4cfbfb9080 > > If you change...

The problem seems to be that the NTFS file system cannot be compressed. I decompressed my user directory from file explorer -> properties -> advanced and everything worked.

I have also had this problem. If I put a blank line between the games, it works. So: Example 1, BAD, does only parse the first game, no blank line...

Ok, thanks. I solved the issue by installing basic typing for my language in Windows settings.

I had a similar usecase where I wanted to use the `sparc-unknown-none-elf` target for a project. It makes sence to specify it in `rust-toolchain.toml` because then the user doesn't have...