Skip to content

Commit 9659458

Browse files
MorabbinCopilot
andcommitted
Drop usage example from with_memory doc comment
No other SessionConfig / ResumeSessionConfig builder method carries a usage-example doctest; keep with_memory consistent with its siblings. The README retains a usage example. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f734385 commit 9659458

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

rust/src/types.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,12 +2145,6 @@ impl SessionConfig {
21452145
}
21462146

21472147
/// Configure the runtime memory feature for this session.
2148-
///
2149-
/// ```
2150-
/// use github_copilot_sdk::types::{MemoryConfiguration, SessionConfig};
2151-
///
2152-
/// let cfg = SessionConfig::default().with_memory(MemoryConfiguration::enabled());
2153-
/// ```
21542148
pub fn with_memory(mut self, memory: MemoryConfiguration) -> Self {
21552149
self.memory = Some(memory);
21562150
self

0 commit comments

Comments
 (0)