mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-02 02:11:06 +00:00
Undoing some formatting
This commit is contained in:
parent
fd88626e38
commit
4e504654d1
@ -177,7 +177,6 @@ if_std! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl OptionIntoWasmAbi for String {
|
impl OptionIntoWasmAbi for String {
|
||||||
#[inline]
|
|
||||||
fn none() -> Self::Abi { null_slice() }
|
fn none() -> Self::Abi { null_slice() }
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -205,7 +204,9 @@ impl<'a> IntoWasmAbi for &'a str {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> OptionIntoWasmAbi for &'a str {
|
impl<'a> OptionIntoWasmAbi for &'a str {
|
||||||
fn none() -> Self::Abi { null_slice() }
|
fn none() -> Self::Abi {
|
||||||
|
null_slice()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl RefFromWasmAbi for str {
|
impl RefFromWasmAbi for str {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user