From eb01abb0f0c131f12997b006995868978e0a0a17 Mon Sep 17 00:00:00 2001 From: rasul Date: Sun, 5 Apr 2020 16:07:03 -0500 Subject: [PATCH] comment describing try_from_long() --- src/world/direction.rs | 1 + 1 file changed, 1 insertion(+) 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 {