msrd0

Results 68 issues of msrd0

I'd like to be able to use nightly Rust for rustfmt but keep using stable Rust for everything else. Stable rust is set as the default toolchain in rustup and...

I just saw this output of `cargo duplicates` which is more than 1000 lines long. It would've been just fine if you only showed say the first 5 or 10...

For some reason, askama won't use references of the inner collection when using macros, resulting in a compiler error ``` error[E0507]: cannot move out of `foo.list` which is behind a...

Using the latest release, we could write code like this (untested, from memory): ```jinja2 {{ foo.bar(value) }} {{ foo.bar(1) }} ``` ```rust #[derive(Template)] struct MyTemplate { foo: Foo, value: u32...

For code like `{% let foo = bar %}`, askama emits `let foo = self.bar` in rust code, which only works if `bar` is of a type that implements `Copy`....

This is very straight-forward in rust code, where we can simply write ```rust // ver is of type Option let suffix = ver.map(|ver| format!("-{}", var)).unwrap_or_default(); ``` In askama, however, this...

While we sometimes (especially for items imported from other crates or modules) don't know what they are and therefore can't generate the full link, for items imported from the std...

enhancement

While `function_name` works with both rustdoc and this crate, `function_name()` works with rustdoc but not this crate. This bug was found by @LuckyTurtleDev.

bug

Thanks to @Lukas1818 for finding this issue.

bug

There is no good error handling and reporting functionality in this crate. This was reported several times, including by @pacak in #37: ``` % cargo doc2readme Reading /path/src/lib.rs thread 'main'...

help wanted