Skip to content

Commit f04f466

Browse files
committed
replace &'static str with RealStr
1 parent 2f15e67 commit f04f466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diesel/src/macros/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ macro_rules! __diesel_column {
9696
impl $crate::query_source::Column for $column_name {
9797
type Table = $table;
9898

99-
const NAME: &'static str = $sql_name;
99+
const NAME: $crate::RealStr = $sql_name;
100100
}
101101

102102
impl<T> $crate::EqAll<T> for $column_name where

0 commit comments

Comments
 (0)