aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Freiberg <[email protected]>2020-04-16 22:53:25 +0100
committerTimo Freiberg <[email protected]>2020-04-21 22:04:44 +0100
commit317fc650d5c1267a8c192041efe6b591d900808f (patch)
tree90f572d14abd743603bc17e8e3a791b922aa3719 /docs
parent546f9ee7a7eb1d208fe279ec469b5981d47934fc (diff)
Make add_function generate functions in other modules via qualified path
Diffstat (limited to 'docs')
-rw-r--r--docs/user/assists.md4
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.
65struct Baz; 65struct Baz;
66fn baz() -> Baz { Baz } 66fn baz() -> Baz { Baz }
67fn foo() { 67fn foo() {
68 bar┃("", baz()); 68 bar┃("", baz());
69} 69}
70 70
71 71
@@ -73,7 +73,7 @@ fn foo() {
73struct Baz; 73struct Baz;
74fn baz() -> Baz { Baz } 74fn baz() -> Baz { Baz }
75fn foo() { 75fn foo() {
76 bar("", baz()); 76 bar("", baz());
77} 77}
78 78
79fn bar(arg: &str, baz: Baz) { 79fn bar(arg: &str, baz: Baz) {