File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,10 +178,10 @@ impl DerefMut for PtySession {
178
178
/// ```
179
179
///
180
180
/// use rexpect::spawn;
181
- /// # use rexpect::errors::* ;
181
+ /// # use rexpect::error::Error ;
182
182
///
183
183
/// # fn main() {
184
- /// # || -> Result<()> {
184
+ /// # || -> Result<(), Error > {
185
185
/// let mut s = spawn("cat", Some(1000))?;
186
186
/// s.send_line("hello, polly!")?;
187
187
/// let line = s.read_line()?;
@@ -283,10 +283,10 @@ impl PtyReplSession {
283
283
///
284
284
/// ```
285
285
/// use rexpect::spawn_bash;
286
- /// # use rexpect::errors::* ;
286
+ /// # use rexpect::error::Error ;
287
287
///
288
288
/// # fn main() {
289
- /// # || -> Result<()> {
289
+ /// # || -> Result<(), Error > {
290
290
/// let mut p = spawn_bash(Some(1000))?;
291
291
/// p.execute("cat <(echo ready) -", "ready")?;
292
292
/// p.send_line("hans")?;
You can’t perform that action at this time.
0 commit comments