summaryrefslogtreecommitdiff
path: root/rust/src/interaction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/interaction.rs')
-rw-r--r--rust/src/interaction.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/interaction.rs b/rust/src/interaction.rs
index c6aada61..20f84348 100644
--- a/rust/src/interaction.rs
+++ b/rust/src/interaction.rs
@@ -466,8 +466,6 @@ impl FormInputBuilder {
///
/// println!("{} {} likes {}", &first_name, &last_name, food);
/// ```
-
-
pub fn get_form_input(&mut self, title: &str) -> Vec<FormResponses> {
if unsafe {
BNGetFormInput(
@@ -488,7 +486,9 @@ impl FormInputBuilder {
| BNFormInputFieldType::OpenFileNameFormField
| BNFormInputFieldType::SaveFileNameFormField
| BNFormInputFieldType::DirectoryNameFormField => {
- FormResponses::String(unsafe { BnStr::from_raw(form_field.stringResult).to_string() })
+ FormResponses::String(unsafe {
+ BnStr::from_raw(form_field.stringResult).to_string()
+ })
}
BNFormInputFieldType::IntegerFormField => {