Hacker News new | ask | show | jobs
by lmkg 1847 days ago
Are empty vectors const as well?
1 comments

Vec::new is const (since 1.39), so yes.