summaryrefslogtreecommitdiff
path: root/install.ps1
diff options
context:
space:
mode:
authorTaylor Yu <tlyu@mit.edu>2021-04-04 00:04:03 -0500
committerTaylor Yu <tlyu@mit.edu>2021-04-04 12:41:32 -0500
commit2e93a588e0abe8badb7eafafb9e7d073c2be5df8 (patch)
treee3754b55667a04e2b67891243181b487d8f60eaf /install.ps1
parent9aeca3f97e7898a08395a5c2002ce218f036dec1 (diff)
fix: use trait objects for try_from_into
Use `Box<dyn error::Error>` to allow solutions to use `?` to propagate errors. In the tests, explicitly check `is_ok()` instead of trying to force the error type to `String` (or other `PartialEq` type) using `assert_eq!()`.
Diffstat (limited to 'install.ps1')
0 files changed, 0 insertions, 0 deletions