We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3652473 commit 4fa232bCopy full SHA for 4fa232b
examples/disco/src/main.rs
@@ -81,7 +81,7 @@ fn load_movielens(path: &Path) -> Dataset<i32, String> {
81
let row = record.unwrap();
82
data.push(
83
row[0].parse::<i32>().unwrap(),
84
- movies.get(&row[1].to_string()).unwrap().to_string(),
+ movies.get(&row[1]).unwrap().to_string(),
85
row[2].parse().unwrap(),
86
);
87
}
0 commit comments