Skip to content

Commit e9b188a

Browse files
committed
extra::ebml: Make reader::Res public
Since reader::vuint_at() returns a result of type reader::Res it makes sense to make it public. Due to rust's current behavior of externally referenced private structures, #10573, you could still use the result and assign it to a variable if you let the compiler do the type assignment, but you could not explicitly annotate a variable to hold a reader::Res.
1 parent 1fda761 commit e9b188a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libextra/ebml.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub mod reader {
9090

9191
// ebml reading
9292

93-
struct Res {
93+
pub struct Res {
9494
val: uint,
9595
next: uint
9696
}

0 commit comments

Comments
 (0)