We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903493d commit a3bed97Copy full SHA for a3bed97
src/whitenoise/users.rs
@@ -356,8 +356,8 @@ impl Whitenoise {
356
///
357
/// # Returns
358
359
- /// Returns a `Result<(User, bool)>` containing:
360
- /// - `Ok((User, bool))` - A tuple with the user and a boolean indicating if the user was newly created (true) or found (false)
+ /// Returns a `Result<User>` containing:
+ /// - `Ok(User)` - The found or created user
361
/// - `Err(WhitenoiseError)` - If there's a database error
362
363
/// # Examples
0 commit comments