Skip to content

Commit 4fa232b

Browse files
committed
Improved example [skip ci]
1 parent 3652473 commit 4fa232b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/disco/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn load_movielens(path: &Path) -> Dataset<i32, String> {
8181
let row = record.unwrap();
8282
data.push(
8383
row[0].parse::<i32>().unwrap(),
84-
movies.get(&row[1].to_string()).unwrap().to_string(),
84+
movies.get(&row[1]).unwrap().to_string(),
8585
row[2].parse().unwrap(),
8686
);
8787
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy