mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Janitor: Silence cspell some more:-)
This commit is contained in:
parent
d6e297ddac
commit
da324e5505
1 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,7 @@ fn test_license_tag_hash() {
|
|||
{
|
||||
let test_source = SourceFileWithTags::new(
|
||||
r#"# LICENSE BEGIN
|
||||
# blub
|
||||
# Some Text
|
||||
# LICENSE END
|
||||
|
||||
blah"#,
|
||||
|
@ -191,6 +191,7 @@ enum LicenseLocation {
|
|||
}
|
||||
|
||||
lazy_static! {
|
||||
// cspell:disable
|
||||
static ref LICENSE_LOCATION_FOR_FILE: Vec<(regex::Regex, LicenseLocation)> = [
|
||||
("^helper_crates/const-field-offset/src/lib.rs$", LicenseLocation::NoLicense), // Upstream fork
|
||||
("^helper_crates/const-field-offset/Cargo.toml$", LicenseLocation::NoLicense), // Upstream fork
|
||||
|
@ -244,6 +245,7 @@ lazy_static! {
|
|||
.iter()
|
||||
.map(|(re, ty)| (regex::Regex::new(re).unwrap(), *ty))
|
||||
.collect();
|
||||
// cspell:enable
|
||||
}
|
||||
|
||||
pub struct LicenseHeader<'a>(&'a [&'a str]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue