C14.14 r2: shorter comments

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 10:59:35 -04:00
1 parent bfd507ae2e
commit 8fc5ee2ab2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -258,7 +258,7 @@ fn bare(svg: &str) -> &str {
svg.find("<svg").map_or(svg, |at| &svg[at..])
}
/// A plain, web or mail address, as a browser reads it.
/// A plain, web or mail address, read as browsers do.
fn safe(url: &str) -> bool {
// Browsers trim spaces and controls, then drop tabs and newlines.
let read: String = url
+1 -1
View File
@@ -416,7 +416,7 @@ fn a_disguised_script_link_does_not_follow() {
fn a_failed_linked_page_takes_the_folder_it_made() {
let dir = tempfile::tempdir().expect("a dir");
std::fs::write(dir.path().join("dot.png"), b"png").expect("writes");
// A folder where the page goes: the page cannot be written.
// A folder in the way: no page.
let out = dir.path().join("out.html");
std::fs::create_dir(&out).expect("makes");
let target = super::Target {