summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-20 08:09:32 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-20 08:16:46 +0100
commit5c4faf806ba7b27cd0ff3db9b3fe435434b9ae18 (patch)
tree6eda3433177f9cb08bb52502eb80efe3b93c21bc
parenta7e77f0df74ed341995bb90e92f45c3dcb64345d (diff)
core: Fix example.
-rw-r--r--core/src/lib.rs27
1 files 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;