0.0.1-alpha.3.fix.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/knowledge-domain-lib/src/source.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
//! Source identities independent of repository and forge providers.
|
||||
|
||||
@@ -30,7 +30,7 @@ impl crate::SourceId {
|
||||
if value.trim().is_empty() {
|
||||
return Err(crate::SourceIdError::Empty);
|
||||
}
|
||||
return Ok(crate::SourceId(value.to_owned()));
|
||||
return Ok(Self(value.to_owned()));
|
||||
}
|
||||
|
||||
/// Return the identifier as text.
|
||||
|
||||
Reference in New Issue
Block a user