Skip to content

Commit d2dc31a

Browse files
authored
fix: Broken doctest and test in CI (#267)
1 parent f300e8f commit d2dc31a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ unstable_session_list = []
2020

2121
[lib]
2222
path = "rust/acp.rs"
23-
doctest = false
2423

2524
[[bin]]
2625
name = "generate"

rust/acp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ use std::sync::Arc;
8484
/// # Example
8585
///
8686
/// ```
87-
/// use agent_client_protocol::SessionId;
87+
/// use agent_client_protocol_schema::SessionId;
8888
/// use std::sync::Arc;
8989
///
90-
/// let session_id = SessionId(Arc::from("sess_abc123def456"));
90+
/// let session_id = SessionId::new("sess_abc123def456");
9191
/// ```
9292
///
9393
/// See protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)

0 commit comments

Comments
 (0)