Skip to content

Commit bf1c598

Browse files
committed
Extend Status docs
1 parent 628611c commit bf1c598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{Error, StatusCode};
22
use core::convert::{Infallible, TryInto};
33
use std::error::Error as StdError;
44

5-
/// Provides the `status` method for `Result`.
5+
/// Provides the `status` method for `Result` and `Option`.
66
///
77
/// This trait is sealed and cannot be implemented outside of `http-types`.
88
pub trait Status<T, E>: private::Sealed {

0 commit comments

Comments
 (0)