Skip to content
Snippets Groups Projects
Commit 4c87779c authored by Maaz Ahmed's avatar Maaz Ahmed
Browse files

fix: RawExpr methods should be public

parent f831fcfe
No related branches found
No related tags found
No related merge requests found
......@@ -287,17 +287,17 @@ impl RawExpr {
/// Construct a raw expression type from a string
///
/// See type level docs for additional details
fn new<T: ToOwned<Owned = String>>(query: T) -> Self {
pub fn new<T: ToOwned<Owned = String>>(query: T) -> Self {
RawExpr(query.to_owned())
}
/// Construct a raw expression type from a type that that implements `Operable`
///
/// See type level docs for additional details
fn from_expr<E: Operable>(expr: E) -> Self {
pub fn from_expr<E: Operable>(expr: E) -> Self {
RawExpr(expr.to_string())
}
/// Get the inner string
fn into_inner(self) -> String {
pub fn into_inner(self) -> String {
self.0
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment