summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2023-08-09 09:48:32 -0400
committerBotahamec <botahamec@outlook.com>2023-08-09 09:48:32 -0400
commita799c00192ac6ecc9a384bc0fce46b10b38def60 (patch)
tree16e6a8e872c027ff683cf3ab0374d23c8f04da6b
parentc792064c9a44ae414fb3f1a5014baa8256da65a3 (diff)
Remove unnecessary basic usage from docs
-rw-r--r--src/exun.rs14
-rw-r--r--src/result.rs4
-rw-r--r--src/unexpected.rs14
3 files changed, 1 insertions, 31 deletions
diff --git a/src/exun.rs b/src/exun.rs
index f6bf24e..87e8610 100644
--- a/src/exun.rs
+++ b/src/exun.rs
@@ -77,7 +77,7 @@ impl<E, U> Exun<E, U> {
/// the unexpected value, if any.
///
/// # Examples
- /// Basic usage:
+ ///
/// ```
/// use exun::*;
///
@@ -102,8 +102,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -125,8 +123,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -160,8 +156,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -187,8 +181,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -271,8 +263,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -305,8 +295,6 @@ impl<E, U> Exun<E, U> {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```should_panic
/// use exun::*;
///
diff --git a/src/result.rs b/src/result.rs
index b67370c..d876a0c 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -22,8 +22,6 @@ pub trait ResultErrorExt<T>: Sealed {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
/// use core::fmt::Error;
@@ -91,8 +89,6 @@ pub trait ResultMsgExt<T>: Sealed {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
diff --git a/src/unexpected.rs b/src/unexpected.rs
index cc07728..178d01e 100644
--- a/src/unexpected.rs
+++ b/src/unexpected.rs
@@ -54,8 +54,6 @@ impl RawUnexpected {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -76,8 +74,6 @@ impl RawUnexpected {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -97,8 +93,6 @@ impl RawUnexpected {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -118,8 +112,6 @@ impl RawUnexpected {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -156,8 +148,6 @@ impl UnexpectedError {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -176,8 +166,6 @@ impl UnexpectedError {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///
@@ -195,8 +183,6 @@ impl UnexpectedError {
///
/// # Examples
///
- /// Basic usage:
- ///
/// ```
/// use exun::*;
///