Skip to content

Commit

Permalink
Fixing doc test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed May 7, 2024
1 parent 8532355 commit 8efba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diesel/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub trait OptionalExtension<T> {
/// # Example
///
/// ```rust
/// use diesel::{QueryResult, NotFound, OptionalExtension, QueryBuilderError};
/// use diesel::{QueryResult, NotFound, OptionalExtension, result::Error::QueryBuilderError};
///
/// let result: QueryResult<i32> = Ok(1);
/// assert_eq!(Ok(Some(1)), result.optional());
Expand Down

0 comments on commit 8efba72

Please sign in to comment.