chore: cleanup stale codes
This commit is contained in:
parent
11a5a35485
commit
f7a101db01
2 changed files with 0 additions and 2 deletions
|
@ -145,7 +145,6 @@ static KNOWN_TYPES: Lazy<HashMap<&'static str, &'static str>> = Lazy::new(|| {
|
||||||
("Date", "Date"),
|
("Date", "Date"),
|
||||||
("JsBuffer", "Buffer"),
|
("JsBuffer", "Buffer"),
|
||||||
("Buffer", "Buffer"),
|
("Buffer", "Buffer"),
|
||||||
// TODO: Vec<u8> should be Buffer, now is Array<number>
|
|
||||||
("Vec", "Array<{}>"),
|
("Vec", "Array<{}>"),
|
||||||
("Result", "Error | {}"),
|
("Result", "Error | {}"),
|
||||||
("Either", "{} | {}"),
|
("Either", "{} | {}"),
|
||||||
|
|
|
@ -230,7 +230,6 @@ pub mod latin1_string {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "latin1")]
|
|
||||||
impl FromNapiValue for Latin1String {
|
impl FromNapiValue for Latin1String {
|
||||||
unsafe fn from_napi_value(env: sys::napi_env, napi_val: sys::napi_value) -> Result<Self> {
|
unsafe fn from_napi_value(env: sys::napi_env, napi_val: sys::napi_value) -> Result<Self> {
|
||||||
let mut len = 0;
|
let mut len = 0;
|
||||||
|
|
Loading…
Reference in a new issue