From 2ac4fe12f3f232cd3ca8b33eb3f14bed4ca8510b Mon Sep 17 00:00:00 2001 From: Ivan Stankovic Date: Mon, 16 Jan 2017 21:26:43 +0100 Subject: [PATCH] libcollections: btree/set: fix a typo --- src/libcollections/btree/set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/btree/set.rs b/src/libcollections/btree/set.rs index f472b593b67..f006ba95371 100644 --- a/src/libcollections/btree/set.rs +++ b/src/libcollections/btree/set.rs @@ -208,7 +208,7 @@ impl BTreeSet { impl BTreeSet { /// Constructs a double-ended iterator over a sub-range of elements in the set. - /// The simplest way is to use the range synax `min..max`, thus `range(min..max)` will + /// The simplest way is to use the range syntax `min..max`, thus `range(min..max)` will /// yield elements from min (inclusive) to max (exclusive). /// The range may also be entered as `(Bound, Bound)`, so for example /// `range((Excluded(4), Included(10)))` will yield a left-exclusive, right-inclusive