Skip to content

Commit 5664de0

Browse files
committed
Expand inline given instance docs
1 parent e26f867 commit 5664de0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/docs/reference/contextual/givens.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ inline given Show[Foo] with {
114114
```
115115
Note that the inline methods within the given instances may be `transparent`.
116116

117+
The inlining of given instances will not inline/duplicate the implementation of the given, it will just inline the instantiation of that instance.
118+
This is used to help dead code elimination of the given instances that are not used after inlining.
119+
117120

118121
## Pattern-Bound Given Instances
119122

0 commit comments

Comments
 (0)