Skip to content

Commit

Permalink
Undo rust-lang/rust#22246 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanzab committed Feb 24, 2015
1 parent 6b4be74 commit 8002268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/device/lib.rs
Original file line number Diff line number Diff line change
@@ -215,8 +215,7 @@ impl<R: Resources, T> BufferHandle<R, T> {

/// Get the associated information about the buffer
pub fn get_info(&self) -> &BufferInfo {
let Handle(_, ref info) = self.raw;
info
self.raw.get_info()
}

/// Get the number of elements in the buffer.

0 comments on commit 8002268

Please sign in to comment.