Skip to content

Commit

Permalink
Work around rust-lang/rust#69785
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Mar 10, 2020
1 parent 938deac commit d1f78f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion noria/src/view/results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ pub struct Results {
}

impl Results {
pub(crate) fn new(results: Vec<Vec<DataType>>, columns: Arc<[String]>) -> Self {
// NOTE: should be pub(crate), but that triggers:
// https://github.com/rust-lang/rust/issues/69785
#[doc(hidden)]
pub fn new(results: Vec<Vec<DataType>>, columns: Arc<[String]>) -> Self {
Self { results, columns }
}

Expand Down

0 comments on commit d1f78f6

Please sign in to comment.