Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
Aaron Hill 2020-01-30 08:32:20 -05:00 committed by GitHub
parent 62d4f8539b
commit 71fb8a68c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ pub trait ResponseError: fmt::Debug + fmt::Display {
/// A helper method to get the type ID of the type /// A helper method to get the type ID of the type
/// this trait is implemented on. /// this trait is implemented on.
/// This method is unsafe to *implement*, since `downcast_ref` relies /// This method is unsafe to *implement*, since `downcast_ref` relies
/// on the returned `TypeId` to perform an cast. /// on the returned `TypeId` to perform a cast.
/// ///
/// Unfortunately, Rust has no notion of a trait method that is /// Unfortunately, Rust has no notion of a trait method that is
/// unsafe to implement (marking it as `unsafe` makes it unsafe /// unsafe to implement (marking it as `unsafe` makes it unsafe