Make the Rust garbage compile again
This commit is contained in:
parent
b8dca570a0
commit
4588e67b64
12 changed files with 1348 additions and 1078 deletions
|
|
@ -173,7 +173,7 @@ fn repomd(url: String) -> Result<(String,String),Box<Error>> {
|
|||
}
|
||||
|
||||
|
||||
pub fn sync(pg: &postgres::GenericConnection, sys: i32, cat: &str, mirror: &str) -> Result<(),Box<Error>> {
|
||||
pub fn sync<T: postgres::GenericClient>(pg: &mut T, sys: i32, cat: &str, mirror: &str) -> Result<(),Box<Error>> {
|
||||
let(primary, filelists) = repomd(format!("{}repodata/repomd.xml", mirror))?;
|
||||
|
||||
let mut pkgswithman = HashSet::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue