From fe651dd6e520174d45b7a49c95a04341de7cc0b9 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 15 Feb 2019 11:33:51 +0100 Subject: [PATCH] tools.rs: fix doc tests --- src/tools.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools.rs b/src/tools.rs index 05c19e09..f97831f7 100644 --- a/src/tools.rs +++ b/src/tools.rs @@ -31,6 +31,9 @@ pub mod fs; /// /// #### Example: /// ``` +/// # #[macro_use] extern crate proxmox_backup; +/// # use failure::*; +/// # let some_condition = false; /// let result = try_block!({ /// if (some_condition) { /// bail!("some error");