ruma_identifiers_validation/
room_id.rs

1
2
3
4
5
use crate::{validate_id, Error};

pub fn validate(s: &str) -> Result<(), Error> {
    validate_id(s, b'!')
}