better-url 0.12.0

A better URL crate.
Documentation
1
2
3
4
5
6
7
8
9
10
//! [`Password`].

use crate::prelude::*;

/// Canonize the input for the password setter to a form parsable by [`Password`]
///
/// Technically a no-op, but useful for signaling intent.
pub fn canonize_set_password<'a, T: Into<Cow<'a, str>>>(value: T) -> (bool, Cow<'a, str>) {
    (false, value.into())
}