From bffdb1e7ad54b0b857d69d45b8791c68741a6ea0 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Fri, 13 Aug 2021 00:20:47 -0300 Subject: Tweak docs/README slightly --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 5efb22b..6d91176 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ impl_trait! { } ``` +A few things to note: + +- You can have generics on the main `impl Foo` block. +- You can have generics on the trait impl with `impl trait Bar`. +- We unfortunately cannot make rustdoc output the trait impls as if they + were somehow "inherent" to the type. They'll still show up in a separate + "trait impls" section rather than as part of the appropriate impl block. + A note on licensing ------------------- -- cgit 1.4.1