From: Oliver Schneider Date: Wed, 11 May 2016 15:04:27 +0000 (+0200) Subject: add known problems X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=b0d008bc9d0e2efd92c29da9c40db768b864b52b;p=rust.git add known problems --- diff --git a/src/assign_ops.rs b/src/assign_ops.rs index 8dc072e69f0..2b1aec83e4c 100644 --- a/src/assign_ops.rs +++ b/src/assign_ops.rs @@ -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:** ///