summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2021-08-13 00:20:47 -0300
committerSoniEx2 <endermoneymod@gmail.com>2021-08-13 00:20:47 -0300
commitbffdb1e7ad54b0b857d69d45b8791c68741a6ea0 (patch)
tree2384f6392657d1b6474375fb464ffafe0cecf2ad
parentcf68dd857cd772b47dc46731c6bbb02112f07889 (diff)
Tweak docs/README slightly
-rw-r--r--Cargo.toml2
-rw-r--r--README.md8
2 files changed, 9 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2657493..6f7645d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "impl_trait"
-version = "0.1.4"
+version = "0.1.5"
 authors = ["SoniEx2 <endermoneymod@gmail.com>"]
 edition = "2018"
 description = "Allows impl trait inside inherent impl."
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<T> Foo` block.
+- You can have generics on the trait impl with `impl trait<T> 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
 -------------------