We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RevisionRef::from_str
1 parent 4e73be9 commit 046ea13Copy full SHA for 046ea13
1 file changed
src/main.rs
@@ -184,9 +184,7 @@ impl FromStr for RevisionRef {
184
project: project.to_owned(),
185
hash: hash.to_owned(),
186
})
187
- .ok_or({
188
- "no dividing colon found; expected revision ref. of the form <project>:<hash>"
189
- })
+ .ok_or("no dividing colon found; expected revision ref. of the form <project>:<hash>")
190
}
191
192
0 commit comments