solidity-stringutils icon indicating copy to clipboard operation
solidity-stringutils copied to clipboard

Mark eligible functions as pure/view

Open darob3rt opened this issue 7 years ago • 1 comments

Nearly all of the string utility functions can be declared as view or even pure, since they do not modify any state but only meddle with the arguments passed to them.

Please add these keywords where possible in order to enable users to keep their functions declared as view or pure without the compiler complaining that one of the called methods in the function may modify the state.

darob3rt avatar Oct 16 '17 08:10 darob3rt

Fixed by #25.

axic avatar Jul 23 '18 21:07 axic