aboutsummaryrefslogtreecommitdiff
path: root/examples/example-pathfinder
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-pathfinder')
-rw-r--r--examples/example-pathfinder/src/sub/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-pathfinder/src/sub/mod.rs b/examples/example-pathfinder/src/sub/mod.rs
index 6d15930..8cbc1c5 100644
--- a/examples/example-pathfinder/src/sub/mod.rs
+++ b/examples/example-pathfinder/src/sub/mod.rs
@@ -13,7 +13,7 @@ pub fn handle_greet(args: EntryGreet) -> Next {
.cloned()
.unwrap_or_else(|| "World".to_string())
.into();
- name
+ name.into()
}
/// Renders the name.