diff --git a/src/world/direction.rs b/src/world/direction.rs index e3b1f1f..30a90b4 100644 --- a/src/world/direction.rs +++ b/src/world/direction.rs @@ -178,6 +178,7 @@ impl Direction { } } + /// Attempt to get a direction from text. pub fn try_from_long>(s: S) -> RudeResult { let s = s.as_ref(); match s {