Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32899508
D8889.1768186250.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8889.1768186250.diff
View Options
diff --git a/services/comm-services-lib/src/blob/client.rs b/services/comm-services-lib/src/blob/client.rs
--- a/services/comm-services-lib/src/blob/client.rs
+++ b/services/comm-services-lib/src/blob/client.rs
@@ -71,7 +71,7 @@
/// - [BlobServiceError::InvalidArguments] if blob hash has incorrect format
///
/// # Example
- /// ```rust
+ /// ```ignore
/// let client =
/// BlobServiceClient::new("http://localhost:50053".parse()?);
///
@@ -181,7 +181,7 @@
/// already exists.
///
/// # Example
- /// ```rust
+ /// ```ignore
/// use std::io::{Error, ErrorKind};
///
/// let client =
diff --git a/services/comm-services-lib/src/database.rs b/services/comm-services-lib/src/database.rs
--- a/services/comm-services-lib/src/database.rs
+++ b/services/comm-services-lib/src/database.rs
@@ -82,13 +82,14 @@
/// Conversion trait for [`AttributeValue`]
///
/// Types implementing this trait are able to do the following:
-/// ```rust
+/// ```ignore
/// use comm_services_lib::database::{TryFromAttribute, AttributeTryInto};
///
-/// let foo = SomeType::try_from_attr("MyAttribute", Some(attribute));
+/// let foo = SomeType::try_from_attr("MyAttribute", Some(attribute))?;
///
/// // if `AttributeTryInto` is imported, also:
-/// let bar = Some(attribute).attr_try_into("MyAttribute");
+/// let bar = Some(attribute).attr_try_into("MyAttribute")?;
+/// ```
pub trait TryFromAttribute: Sized {
fn try_from_attr(
attribute_name: impl Into<String>,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 12, 2:50 AM (15 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5921351
Default Alt Text
D8889.1768186250.diff (1 KB)
Attached To
Mode
D8889: [comm-services-lib] Fix doctests
Attached
Detach File
Event Timeline
Log In to Comment