File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
branches/beta/src/libcollections Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
29
29
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
30
30
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
31
31
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32
- refs/heads/beta: aaa3641754543d6891c872e3be6667cfbec7b741
32
+ refs/heads/beta: 093ebd5a62d77678046b5e56420d46df37a97129
33
33
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
34
34
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35
35
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a
Original file line number Diff line number Diff line change @@ -1057,6 +1057,14 @@ impl AsRef<str> for String {
1057
1057
}
1058
1058
}
1059
1059
1060
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1061
+ impl AsRef < [ u8 ] > for String {
1062
+ #[ inline]
1063
+ fn as_ref ( & self ) -> & [ u8 ] {
1064
+ self . as_bytes ( )
1065
+ }
1066
+ }
1067
+
1060
1068
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1061
1069
impl < ' a > From < & ' a str > for String {
1062
1070
#[ cfg( not( test) ) ]
You can’t perform that action at this time.
0 commit comments