mirror of
https://github.com/actix/actix-web.git
synced 2025-01-05 06:48:44 +00:00
hide downcast macros
This commit is contained in:
parent
db97974dc1
commit
52bb2b5daf
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
|
#[doc(hidden)]
|
||||||
macro_rules! downcast_get_type_id {
|
macro_rules! downcast_get_type_id {
|
||||||
() => {
|
() => {
|
||||||
/// A helper method to get the type ID of the type
|
/// 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
|
//Generate implementation for dyn $name
|
||||||
|
#[doc(hidden)]
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! downcast {
|
macro_rules! downcast {
|
||||||
($name:ident) => {
|
($name:ident) => {
|
||||||
|
|
Loading…
Reference in a new issue