From 5c4faf806ba7b27cd0ff3db9b3fe435434b9ae18 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 20 Jan 2021 08:09:32 +0100 Subject: core: Fix example. --- core/src/lib.rs | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/core/src/lib.rs b/core/src/lib.rs index b160161f..cc691640 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -4,19 +4,20 @@ //! Therefore, we need you to provide a little information about the //! context you are using Sequoia in. //! -/// # Examples -/// -/// A context with reasonable defaults can be created using -/// `Context::new`: -/// -/// ```no_run -/// # use sequoia_core::{Context, Result}; -/// # f().unwrap(); -/// # fn f() -> Result<()> { -/// let c = Context::new(); -/// # Ok(()) -/// # } -/// ``` +//! # Examples +//! +//! A context with reasonable defaults can be created using +//! `Context::new`: +//! +//! ```no_run +//! # use sequoia_core::{Context, Result}; +//! # f().unwrap(); +//! # fn f() -> Result<()> { +//! let c = Context::new(); +//! # Ok(()) +//! # } +//! ``` + use dirs; use tempfile; -- cgit v1.2.3