Sure! Here's the code block with Markdown formatting and indentation:

```rust
fn bubble_sort(mut list: Vec<i32>) -> Vec<i32> {
    let n = list.len();
    for i in 0..n {
        for j in 0..n-i-1 {
            if list[j] > list[j+1] {
                list.swap(j, j+1);
            }
        }
    }
    list
}
```

This function takes a vector of integers as an input argument and returns a sorted vector using the bubble sort algorithm.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence