Skip to content

Commit f0af1d5

Browse files
committed
updated docs
1 parent c00a9ae commit f0af1d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ These statements are rewritten by `@model` as calls of [internal functions](@ref
1414
@model
1515
```
1616

17-
One can nest models and call another model inside the model function with `left ~ to_sampleable(model)`.
17+
One can nest models and call another model inside the model function with `left ~ returned(model)`.
1818

1919
```@docs
20-
to_sampleable
20+
returned(model)
2121
```
2222

23-
In the past, one would instead embed sub-models using [`@submodel`](@ref), which has been deprecated since the introduction of [`to_sampleable(model)`](@ref)
23+
In the past, one would instead embed sub-models using [`@submodel`](@ref), which has been deprecated since the introduction of [`returned(model)`](@ref)
2424

2525
```@docs
2626
@submodel

0 commit comments

Comments
 (0)