diff options
author | Timo Freiberg <[email protected]> | 2020-04-16 22:53:25 +0100 |
---|---|---|
committer | Timo Freiberg <[email protected]> | 2020-04-21 22:04:44 +0100 |
commit | 317fc650d5c1267a8c192041efe6b591d900808f (patch) | |
tree | 90f572d14abd743603bc17e8e3a791b922aa3719 /docs | |
parent | 546f9ee7a7eb1d208fe279ec469b5981d47934fc (diff) |
Make add_function generate functions in other modules via qualified path
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/assists.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 6483ba4f3..6c6943622 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -65,7 +65,7 @@ Adds a stub function with a signature matching the function under the cursor. | |||
65 | struct Baz; | 65 | struct Baz; |
66 | fn baz() -> Baz { Baz } | 66 | fn baz() -> Baz { Baz } |
67 | fn foo() { | 67 | fn foo() { |
68 | bar┃("", baz()); | 68 | bar┃("", baz()); |
69 | } | 69 | } |
70 | 70 | ||
71 | 71 | ||
@@ -73,7 +73,7 @@ fn foo() { | |||
73 | struct Baz; | 73 | struct Baz; |
74 | fn baz() -> Baz { Baz } | 74 | fn baz() -> Baz { Baz } |
75 | fn foo() { | 75 | fn foo() { |
76 | bar("", baz()); | 76 | bar("", baz()); |
77 | } | 77 | } |
78 | 78 | ||
79 | fn bar(arg: &str, baz: Baz) { | 79 | fn bar(arg: &str, baz: Baz) { |