Skip to content

Commit

Permalink
Remove macro identifiers which don't work in rustdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed Nov 10, 2019
1 parent ff4c157 commit 328ab0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/runtime-core/src/typed_func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ where

macro_rules! impl_traits {
( [$repr:ident] $struct_name:ident, $( $x:ident ),* ) => {
/// $struct_name for typed funcs.
/// Struct for typed funcs.
#[repr($repr)]
pub struct $struct_name< $( $x ),* > ( $( <$x as WasmExternType>::Native ),* )
where
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime-core/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ pub trait LocalImport {
#[rustfmt::skip]
macro_rules! define_map_index {
($ty:ident) => {
/// Typed Index for $ty
/// Typed Index
#[derive(Serialize, Deserialize)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct $ty (u32);
Expand Down

0 comments on commit 328ab0a

Please sign in to comment.