Are the traits in collections::borrow redundant with the traits in core::convert?


Links to documentation:

In particular, the traits that I think are redundant:

  • collections::borrow::Borrow & core::convert::AsRef
  • collections::borrow::BorrowMut & core::convert::AsMut

Can anyone clarify what purpose Borrow and BorrowMut serve? It looks like they predate core::convert and might be an oversight at this point.


@aturon explains the differences here.