Closed edmorley closed 8 months ago
We should not be using .unwrap() outside of tests.
.unwrap()
These were found by the unwrap_used lint (which is about to be enabled across the whole repo).
unwrap_used
https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L55-L57 https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L96 https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L108
Wontfix since the Ruby example has been removed in #757.
We should not be using
.unwrap()
outside of tests.These were found by the
unwrap_used
lint (which is about to be enabled across the whole repo).https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L55-L57 https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L96 https://github.com/heroku/libcnb.rs/blob/335b3514ade67db6e96df59d12e2a226325a42e2/examples/ruby-sample/src/layers/bundler.rs#L108