Initial code structure for regular links.

This commit is contained in:
Tom Alexander
2023-04-23 16:17:52 -04:00
parent f1bd7f2d1b
commit 3600f46e3b
2 changed files with 21 additions and 5 deletions

View File

@@ -111,3 +111,9 @@ impl<'s> Source<'s> for Verbatim<'s> {
self.source
}
}
impl<'s> Source<'s> for RegularLink<'s> {
fn get_source(&'s self) -> &'s str {
self.source
}
}