Skip to content

Commit

Permalink
chore: add version to deprecation messages
Browse files Browse the repository at this point in the history
Added in 1c7209b and
55b792a respectively.
  • Loading branch information
findepi committed Nov 23, 2024
1 parent d9abdad commit 4cb6d62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/expr/src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ impl Expr {
}

/// Returns a full and complete string representation of this expression.
#[deprecated(note = "use format! instead")]
#[deprecated(since = "42.0.0", note = "use format! instead")]
pub fn canonical_name(&self) -> String {
format!("{self}")
}
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/src/unparser/dialect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl Default for CustomDialect {

impl CustomDialect {
// Create a CustomDialect
#[deprecated(note = "please use `CustomDialectBuilder` instead")]
#[deprecated(since = "41.0.0", note = "please use `CustomDialectBuilder` instead")]
pub fn new(identifier_quote_style: Option<char>) -> Self {
Self {
identifier_quote_style,
Expand Down

0 comments on commit 4cb6d62

Please sign in to comment.