]> git.lizzy.rs Git - rust.git/commitdiff
Fix docs
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 12 Aug 2020 11:56:58 +0000 (13:56 +0200)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 12 Aug 2020 11:56:58 +0000 (13:56 +0200)
crates/ra_assists/src/handlers/apply_demorgan.rs

index de701f8b8313cdc9e8c5ea9229bff1cf90b76fec..3ac4aed7d2937256fbc347cf51cbc511c5e99aa8 100644 (file)
@@ -4,7 +4,7 @@
 
 // Assist: apply_demorgan
 //
-// Apply [De Morgan's law](https://en.wikipedia.org/wiki/De_Morgan%27s_laws).
+// Apply https://en.wikipedia.org/wiki/De_Morgan%27s_laws[De Morgan's law].
 // This transforms expressions of the form `!l || !r` into `!(l && r)`.
 // This also works with `&&`. This assist can only be applied with the cursor
 // on either `||` or `&&`, with both operands being a negation of some kind.