Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Rust-Web-Development/code
/ no_profane_words
Function
no_profane_words
ch_11/src/profanity.rs:112–116 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
110
}
111
112
async fn no_profane_words() {
113
let content =
"this is a sentence"
.to_string();
114
let censored_content = check_profanity(content).await;
115
assert_eq!(censored_content.unwrap(),
""
);
116
}
117
}
Callers
1
run
Function · 0.85
Calls
1
check_profanity
Function · 0.70
Tested by
no test coverage detected