Martin Carton

Results 16 issues of Martin Carton

Since `std::error::Error::description` returns a `&str`, it's quite common to return a default static string here. Also it's common to leave `cause` return `None`. We could have an attribute like this:...

feature-derive

All of `ExactSizeIterator`'s methods have default implementations so we could derive a simple implementation similar to: ``` rust impl {} ``` Similarly [`FusedIterator`](https://doc.rust-lang.org/nightly/std/iter/trait.FusedIterator.html) and [`DoubleEndedSearcher`](https://doc.rust-lang.org/nightly/std/str/pattern/trait.DoubleEndedSearcher.html) are just a marker traits.

feature-derive

There should be a way to specify custom documentation for a trait implementation. Something like: ``` rust #[derivative(Default(doc="Returns `None`."))] enum Option { Some(T), #[derivative(Default)] None, } ``` Or maybe for...

feature-attribute

In order to test the plugin, feed a Rust-specific database and improve other crates, the plugin should be tried on lots of crates in the ecosystem. Some ideas of crates...

It's rather easy to remove at least some of them.

**Describe the bug** `roger` panic and the web interface shows `error (RuntimeError)` when compiling the following example. Output from Roger: ``` panicked at 'NaN in xs', packages/optimizer/src/lib.rs:353:17 Stack: Error at...