##// END OF EJS Templates
rust-cpython: make sure PySharedRef::borrow_mut() never panics...
rust-cpython: make sure PySharedRef::borrow_mut() never panics Since it returns a Result, it shouldn't panic depending on where the borrowing fails. PySharedRef::borrow_mut() will be renamed to try_borrow_mut() by the next patch.

File last commit:

r40308:a36c5e23 default
r44650:4a4c3b9f default
Show More
Cargo.toml
12 lines | 286 B | text/plain | TOMLLexer
[package]
name = "hgdirectffi"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Low level Python bindings for hg-core, going through existing C extensions"
[dependencies]
libc = "*"
hg-core = { path = "../hg-core" }
[lib]
crate-type = ["staticlib"]