Scout is an extensible open-source tool intended to assist Stellar Soroban smart contract developers and auditors detect common security issues and deviations from best practices.
The hint/help message should be conditional: If the function returns Result, suggest using ok_or (or similar), if it does not return a Result, keep it as it is.
The hint/help message should be conditional: If the function returns
Result
, suggest usingok_or
(or similar), if it does not return aResult
, keep it as it is.