Page MenuHomePhabricator

D8889.diff
No OneTemporary

D8889.diff

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

Mime Type
text/plain
Expires
Tue, Nov 26, 9:12 AM (21 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584113
Default Alt Text
D8889.diff (1 KB)

Event Timeline