We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528c4c4 commit 782657dCopy full SHA for 782657d
src/lib.rs
@@ -143,6 +143,8 @@ impl GHRepo {
143
/// any point, just because a name is accepted doesn't necessarily mean you
144
/// can create a user by that name on GitHub today.
145
///
146
+ /// # Example
147
+ ///
148
/// ```
149
/// # use ghrepo::GHRepo;
150
/// assert!(GHRepo::is_valid_owner("octocat"));
@@ -162,6 +164,8 @@ impl GHRepo {
162
164
/// underscores, with the names `.` and `..` being reserved and names
163
165
/// ending with `.git` (case insensitive) forbidden.
166
167
168
169
170
171
/// assert!(GHRepo::is_valid_name("my-repo"));
0 commit comments