1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-03 08:41:55 +00:00

hide downcast macros

This commit is contained in:
Rob Ede 2021-04-19 03:42:53 +01:00
parent db97974dc1
commit 52bb2b5daf
No known key found for this signature in database
GPG key ID: 97C636207D3EF933

View file

@ -1,4 +1,5 @@
#[macro_export]
#[doc(hidden)]
macro_rules! downcast_get_type_id {
() => {
/// A helper method to get the type ID of the type
@ -25,6 +26,7 @@ macro_rules! downcast_get_type_id {
}
//Generate implementation for dyn $name
#[doc(hidden)]
#[macro_export]
macro_rules! downcast {
($name:ident) => {