Commit c441d94
authored
docs: fix non-compiling Rust session-limits example (#2082)
The Rust tab of docs/features/session-limits.md called SessionConfig::new(),
which does not exist -- SessionConfig is constructed via Default plus builder
methods, so copying the example produced error[E0599]. Use
SessionConfig::default() so the documented snippet compiles against the SDK it
ships with. The neighboring resume example already uses the real
ResumeSessionConfig::new(session_id) and is unchanged.
Co-authored-by: examon <examon@users.noreply.github.com>1 parent 2ab2aa5 commit c441d94
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments