From 85c64ec7bed4fba183f8ed22c96241c7baec3972 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 27 Oct 2019 16:56:53 +0300 Subject: use new api for flip_trait_bound assist --- docs/user/assists.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/user') diff --git a/docs/user/assists.md b/docs/user/assists.md index e4d08a7dc..b1fe44d84 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md @@ -248,6 +248,18 @@ fn main() { } ``` +## `flip_trait_bound` + +Flips two trait bounds. + +```rust +// BEFORE +fn foo() { } + +// AFTER +fn foo() { } +``` + ## `inline_local_variable` Inlines local variable. -- cgit v1.2.3