mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
std::error::Request: add missing period in docs
All but one of the bullet points ended with a period; add the missing period.
This commit is contained in:
@@ -514,7 +514,7 @@ fn request_by_type_tag<'a, I>(err: &'a (impl Error + ?Sized)) -> Option<I::Reifi
|
||||
///
|
||||
/// * A Producer initializes the value of one of its fields of a specific type. (or is otherwise
|
||||
/// prepared to generate a value requested). eg, `backtrace::Backtrace` or
|
||||
/// `std::backtrace::Backtrace`
|
||||
/// `std::backtrace::Backtrace`.
|
||||
/// * A Consumer requests an object of a specific type (say `std::backtrace::Backtrace`). In the
|
||||
/// case of a `dyn Error` trait object (the Producer), there are functions called `request_ref` and
|
||||
/// `request_value` to simplify obtaining an `Option<T>` for a given type.
|
||||
|
||||
Reference in New Issue
Block a user