Skip to content

Commit 96d7877

Browse files
authored
Fixed compilation error on beta/nightly.
1 parent 0540a32 commit 96d7877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openml_api/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub trait Id {
1616
impl Id for String {
1717
#[inline(always)]
1818
fn as_string(&self) -> Cow<str> {
19-
Cow::from(self.as_ref())
19+
Cow::from(self.as_str())
2020
}
2121

2222
#[inline(always)]

0 commit comments

Comments
 (0)