Those methods and constants will be reused by another module.
Details
Details
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
jsgf |
Restricted Project |
Those methods and constants will be reused by another module.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | rust/indexes/src/lib.rs (1 line) | |||
M | rust/indexes/src/nodemap.rs (25 lines) | |||
A | M | rust/indexes/src/utils.rs (31 lines) |
// Copyright 2017 Facebook, Inc. | // Copyright 2017 Facebook, Inc. | ||||
// | // | ||||
// This software may be used and distributed according to the terms of the | // This software may be used and distributed according to the terms of the | ||||
// GNU General Public License version 2 or any later version. | // GNU General Public License version 2 or any later version. | ||||
extern crate python27_sys; | extern crate python27_sys; | ||||
#[macro_use] | #[macro_use] | ||||
extern crate cpython; | extern crate cpython; | ||||
#[macro_use] | #[macro_use] | ||||
extern crate error_chain; | extern crate error_chain; | ||||
extern crate radixbuf; | extern crate radixbuf; | ||||
pub mod errors; | pub mod errors; | ||||
pub mod nodemap; | pub mod nodemap; | ||||
mod utils; | |||||
mod pybuf; | mod pybuf; | ||||
#[allow(non_camel_case_types)] | #[allow(non_camel_case_types)] | ||||
pub mod pyext; | pub mod pyext; |
(driveby) You can use b'a' to get a character value as a u8. so b'a'...b'f' => ch - b'a',, etc