Mark ClientId::new as deprecated
This commit is contained in:
committed by
Paolo Barbolini
parent
98f09117f7
commit
36aab20086
@@ -57,6 +57,12 @@ impl Display for ClientId {
|
||||
}
|
||||
|
||||
impl ClientId {
|
||||
#[deprecated(since = "0.10.0", note = "Please use the new_domain function instead")]
|
||||
/// Creates a new `ClientId` from a fully qualified domain name
|
||||
pub fn new(domain: String) -> Self {
|
||||
Self::Domain(domain)
|
||||
}
|
||||
|
||||
/// Creates a new `ClientId` from a fully qualified domain name
|
||||
pub fn new_domain(domain: String) -> Self {
|
||||
Self::Domain(domain)
|
||||
|
||||
Reference in New Issue
Block a user