Skip to content

Commit 181b10b

Browse files
rich-murpheyalexcrichton
authored andcommitted
Update extends.md (#1874)
typo: Bar reference gives Foo.
1 parent 0acece0 commit 181b10b

File tree

1 file changed

+1
-1
lines changed
  • guide/src/reference/attributes/on-js-imports

1 file changed

+1
-1
lines changed

guide/src/reference/attributes/on-js-imports/extends.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ extern "C" {
4545

4646
let x: &Baz = ...;
4747
let y1: &Bar = x.as_ref();
48-
let y2: &Foo = x.as_ref();
48+
let y2: &Foo = y1.as_ref();
4949
```

0 commit comments

Comments
 (0)