Skip to content

Commit 1c51cc0

Browse files
committed
Make bound tags uninstantiatable
1 parent 9a07dc9 commit 1c51cc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

types/range.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ trait BoundSided {
6363

6464
/// A tag type representing an upper bound
6565
#[deriving(Eq,Clone)]
66-
pub struct UpperBound;
66+
pub enum UpperBound {}
6767

6868
/// A tag type representing a lower bound
6969
#[deriving(Eq,Clone)]
70-
pub struct LowerBound;
70+
pub enum LowerBound {}
7171

7272
impl BoundSided for UpperBound {
7373
fn side(_: Option<UpperBound>) -> BoundSide {

0 commit comments

Comments
 (0)