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 ff12cad commit 0f66776Copy full SHA for 0f66776
src/transport.rs
@@ -107,7 +107,7 @@ struct RawSmartSubtransportStream {
107
pub unsafe fn register<F>(prefix: &str, factory: F) -> Result<(), Error>
108
where F: Fn(&Remote) -> Result<Transport, Error> + Send + Sync + 'static
109
{
110
- libgit2_sys::init();
+ ::init();
111
let mut data = Box::new(TransportData {
112
factory: Box::new(factory),
113
});
0 commit comments