Skip to content

Conversation

sfackler
Copy link
Member

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't the two impls be replaced with impl<Sized? T> BorrowFrom<&'static T> for T?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On that note, shouldn't it just be impl<Sized? T, 'a> BorrowFrom<&'a T> for T?

@gereeter
Copy link
Contributor

Now that #19146 has been accepted, should this be removed from the queue and closed?

@sfackler sfackler closed this Nov 21, 2014
@sfackler sfackler deleted the borrow-from-slice branch November 21, 2014 03:35
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 22, 2014
bors added a commit that referenced this pull request Nov 23, 2014
This should be a more general version of #19131.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants