]> git.lizzy.rs Git - rust.git/commitdiff
add known problems
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 11 May 2016 15:04:27 +0000 (17:04 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 11 May 2016 15:04:27 +0000 (17:04 +0200)
src/assign_ops.rs

index 8dc072e69f0cc26d736b5edfa449b16544d2f981..2b1aec83e4cc293f24871cc684672c88d08847e3 100644 (file)
@@ -7,7 +7,7 @@
 /// **Why is this bad?** Projects with many developers from languages without those operations
 ///                      may find them unreadable and not worth their weight
 ///
-/// **Known problems:** None
+/// **Known problems:** Types implementing `OpAssign` don't necessarily implement `Op`
 ///
 /// **Example:**
 /// ```
@@ -22,7 +22,7 @@
 ///
 /// **Why is this bad?** These can be written as the shorter `a op= b`
 ///
-/// **Known problems:** Hopefully none.
+/// **Known problems:** While forbidden by the spec, `OpAssign` traits may have implementations that differ from the regular `Op` impl
 ///
 /// **Example:**
 ///