issues
search
foundry-rs
/
compilers
Utilities for working with native solc and compiling projects.
Apache License 2.0
73
stars
41
forks
source link
refactor: rewrite examples without wrapper functions and with no_run
#58
Closed
DaniPopes
closed
8 months ago
DaniPopes
commented
8 months ago
Using a wrapper function like
fn f(x: _) -> Result
hides the fact that all the code in the example does not run
use
?
instead of unwrap
some examples are unnecessary or don't showcase the function at all, so remove them
fn f(x: _) -> Result
hides the fact that all the code in the example does not run?
instead of unwrap