elichai / log-derive

A procedural macro for auto logging output of functions
https://docs.rs/log-derive
Apache License 2.0
189 stars 12 forks source link

Add support for typedef of Results #19

Closed elichai closed 4 years ago

elichai commented 4 years ago

This is an alternative to #18 instead of assuming that everything that ends with *Result is a result we just assume it's a result if the user provided a ok or err attributes. The general implicit wrapping of results even when the attributes isn't specified is left as is.

@SilentByte Please give it a look

SilentByte commented 4 years ago

Looks good. :+1: