robb / Asterism

Asterism is yet another functional toolbelt for Objective-C. It tries to be typesafe and simple.
http://robb.github.io/Asterism/
MIT License
226 stars 12 forks source link

Enabled documentation warnigns and fixed the ones spit out #60

Closed monkeydom closed 4 years ago

monkeydom commented 4 years ago

Fixing these by naming the arguments appropriately:

In file included from /Users/dom/Data/github/Asterism/Asterism/ASTMap.m:11:
/Users/dom/Data/github/Asterism/Asterism/ASTMap.h:107:12: warning: parameter 'set' not found in the function declaration [-Wdocumentation]
/// @param set   An ordered set of elements.
           ^~~
/Users/dom/Data/github/Asterism/Asterism/ASTMap.h:107:12: note: did you mean 'array'?
/// @param set   An ordered set of elements.
           ^~~
           array
1 warning generated.

In file included from /Users/dom/Data/github/Asterism/Asterism/ASTPluck.m:9:
/Users/dom/Data/github/Asterism/Asterism/ASTMap.h:107:12: warning: parameter 'set' not found in the function declaration [-Wdocumentation]
/// @param set   An ordered set of elements.
           ^~~
/Users/dom/Data/github/Asterism/Asterism/ASTMap.h:107:12: note: did you mean 'array'?
/// @param set   An ordered set of elements.
           ^~~
           array
1 warning generated.