Conversation

ok rust q, is Result<> the correct type to use if i only care to return whether or not something succeeded? the actual thing im doing is just avoiding using panic for recoverable errors but idk what the normal pattern here would be for rust

2
0
0

@kirakira if it’s not a serious fault or you don’t care about the error, you could also do an option. but yeah a result makes sense too

0
0
1

@Shenanigans @kirakira I'm vaguely recalling code I've read that does an Ok(()) at the end, but cannot recall where I saw it.

1
0
0

@soatok @Shenanigans i just boilerplated that and it seems to do what you would anticipate blobfox

0
0
0