Skip to content

Commit

Permalink
fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtlawrence committed Jan 1, 2020
1 parent 23ad8f8 commit 76309e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/modocs/cmds.md
Expand Up @@ -36,7 +36,6 @@ extern crate papyrus;
use papyrus::cmdtree::{Builder, BuilderChain};
use papyrus::cmds::CommandResult;
use papyrus::run::RunCallbacks;
# #[cfg(not(feature = "runnable"))]
# fn main() {}
Expand All @@ -53,7 +52,7 @@ fn main() {
let mut app_data = String::new();
// Run the REPL and collect all the output.
let output = repl.run(RunCallbacks::new(&mut app_data)).unwrap();
let output = repl.run(papyrus::run::RunCallbacks::new(&mut app_data)).unwrap();
// Print the output.
println!("{}", output);
Expand Down
3 changes: 1 addition & 2 deletions src/cmds/mod.rs
Expand Up @@ -36,7 +36,6 @@
//!
//! use papyrus::cmdtree::{Builder, BuilderChain};
//! use papyrus::cmds::CommandResult;
//! use papyrus::run::RunCallbacks;
//!
//! # #[cfg(not(feature = "runnable"))]
//! # fn main() {}
Expand All @@ -53,7 +52,7 @@
//! let mut app_data = String::new();
//!
//! // Run the REPL and collect all the output.
//! let output = repl.run(RunCallbacks::new(&mut app_data)).unwrap();
//! let output = repl.run(papyrus::run::RunCallbacks::new(&mut app_data)).unwrap();
//!
//! // Print the output.
//! println!("{}", output);
Expand Down

0 comments on commit 76309e5

Please sign in to comment.