These are chat archives for rust-lang/rust
link.exefailed: exit code: 1
is_empty. Thanks :smile:
[T; 0]‒ arrays are fixed sized. It makes sense to check if something is empty if it may or may not be. Things that may be empty are vectors ‒
Vec<T>(arrays that can grow and shrink at runtime) or slices
[T](which is a borrowed part of an array or vector or something similar).