Comment

Comment by Fluorescence

clear() is a method of std::Vec not std::slice.

DerefMut to [T] not Vec<T>.

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton